summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2019-11-05 11:57:36 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2019-11-06 17:20:37 -0300
commit64da703c6f71e974cd404a2ebae9b0564f75e4c2 (patch)
tree18dd7d96880cee8ca4b9a083c0c98569020e6dad
parent500863859ca34fec245cdf9ff4bc236a308904c4 (diff)
Make text in the "About" dialog reset its position when changed
-rw-r--r--editor/editor_about.cpp1
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));
}