From 64da703c6f71e974cd404a2ebae9b0564f75e4c2 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Tue, 5 Nov 2019 11:57:36 -0300 Subject: Make text in the "About" dialog reset its position when changed --- editor/editor_about.cpp | 1 + 1 file changed, 1 insertion(+) 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)); } -- cgit v1.2.3