diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-05-21 16:23:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-21 16:23:07 +0200 |
commit | 8289ff5fb363d1976589f8102af39c4fa88fe628 (patch) | |
tree | d2f3a52bdd0377c5287b1cb8b897b97c2df52110 /editor/plugins/script_editor_plugin.cpp | |
parent | 7de36f0517f82b3d149887cc6a8d38349d5f2358 (diff) | |
parent | 6c058040b7ce27c8687dcd001447312ff97e9717 (diff) |
Merge pull request #18951 from YeldhamDev/small_tooltip_changes
Small tooltip changes
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 422d19c0e4..94dcbd8e18 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1404,6 +1404,7 @@ void ScriptEditor::_update_members_overview_visibility() { ScriptEditorBase *se = _get_current_editor(); if (!se) { + members_overview_buttons_hbox->set_visible(false); members_overview->set_visible(false); return; } @@ -2681,7 +2682,7 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) { members_overview_vbox->add_child(members_overview_buttons_hbox); members_overview_alphabeta_sort_button = memnew(ToolButton); - members_overview_alphabeta_sort_button->set_tooltip(TTR("Sort alphabetically")); + members_overview_alphabeta_sort_button->set_tooltip(TTR("Toggle alphabetical sorting of the method list.")); members_overview_alphabeta_sort_button->set_toggle_mode(true); members_overview_alphabeta_sort_button->set_pressed(EditorSettings::get_singleton()->get("text_editor/tools/sort_members_outline_alphabetically")); members_overview_alphabeta_sort_button->connect("toggled", this, "_toggle_members_overview_alpha_sort"); |