Fix Members/Help Overview getting their items deselected when a tooltip appears

This commit is contained in:
Michael Alexsander Silva Dias 2018-08-26 12:35:33 -03:00
parent db55d8a4b6
commit df4f3aecd8
1 changed files with 6 additions and 3 deletions

View File

@ -1692,7 +1692,6 @@ void ScriptEditor::_update_script_names() {
if (restoring_layout) if (restoring_layout)
return; return;
waiting_update_names = false;
Set<Ref<Script> > used; Set<Ref<Script> > used;
Node *edited = EditorNode::get_singleton()->get_edited_scene(); Node *edited = EditorNode::get_singleton()->get_edited_scene();
if (edited) { if (edited) {
@ -1816,8 +1815,12 @@ void ScriptEditor::_update_script_names() {
} }
} }
_update_members_overview(); if (!waiting_update_names) {
_update_help_overview(); _update_members_overview();
_update_help_overview();
} else {
waiting_update_names = false;
}
_update_members_overview_visibility(); _update_members_overview_visibility();
_update_help_overview_visibility(); _update_help_overview_visibility();
_update_script_colors(); _update_script_colors();