diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-06 22:24:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-06 22:24:23 +0100 |
commit | 71777ee9081f87d924e31a6f1fc5b9f3aa6b63e1 (patch) | |
tree | ce29f33bd44428ab33728e9d12550129c07c904f | |
parent | e62aa53b94bc79e1191b6deaa9ca8ef617fa739b (diff) | |
parent | 64da703c6f71e974cd404a2ebae9b0564f75e4c2 (diff) |
Merge pull request #33402 from YeldhamDev/about_text_reset_position
Make text in the "About" dialog reset its position when changed
-rw-r--r-- | editor/editor_about.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_about.cpp b/editor/editor_about.cpp index 8a03292708..f75d9c98e0 100644 --- a/editor/editor_about.cpp +++ b/editor/editor_about.cpp @@ -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)); } |