Merge pull request #33402 from YeldhamDev/about_text_reset_position

Make text in the "About" dialog reset its position when changed
This commit is contained in:
Rémi Verschelde 2019-11-06 22:24:23 +01:00 committed by GitHub
commit 71777ee908
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
}