mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Make text in the "About" dialog reset its position when changed
This commit is contained in:
parent
500863859c
commit
64da703c6f
@ -58,6 +58,7 @@ void EditorAbout::_notification(int p_what) {
|
||||
void EditorAbout::_license_tree_selected() {
|
||||
|
||||
TreeItem *selected = _tpl_tree->get_selected();
|
||||
_tpl_text->scroll_to_line(0);
|
||||
_tpl_text->set_text(selected->get_metadata(0));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user