diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-27 09:43:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 09:43:00 +0200 |
commit | fc1d464f1fa35278c00d1a4b3318b67b942f3b6c (patch) | |
tree | bbd0c18c51465ca0feefa831cfb3997fb212e2ed /editor/plugins | |
parent | 0f4ba4481a7bdfa92cf6e4fe0e1fcbd01bd89050 (diff) | |
parent | df4f3aecd8fef4cd8bc8104b0f5ccb5362af3b40 (diff) |
Merge pull request #21381 from YeldhamDev/members_help_overview_fix
Fix Members/Help Overview getting their items deselected when a tooltip appears
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 1bb7c98114..fa034c97c0 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1692,7 +1692,6 @@ void ScriptEditor::_update_script_names() { if (restoring_layout) return; - waiting_update_names = false; Set<Ref<Script> > used; Node *edited = EditorNode::get_singleton()->get_edited_scene(); if (edited) { @@ -1816,8 +1815,12 @@ void ScriptEditor::_update_script_names() { } } - _update_members_overview(); - _update_help_overview(); + if (!waiting_update_names) { + _update_members_overview(); + _update_help_overview(); + } else { + waiting_update_names = false; + } _update_members_overview_visibility(); _update_help_overview_visibility(); _update_script_colors(); |