summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Holland <alexander.holland@live.de>2017-10-22 00:05:01 +0200
committerRĂ©mi Verschelde <rverschelde@gmail.com>2017-10-22 11:54:37 +0200
commita9876869de1fdf52ddb252c2ac409472e3aef842 (patch)
tree4c88505dc27db3f3baefdcaef9c20bcd0d7ae221
parentadd60f840aa298c37027f33cb295f10e1ba68904 (diff)
Change theme button name to edit theme
[ci skip]
-rw-r--r--editor/plugins/theme_editor_plugin.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp
index e500dec0ef..02ead3aee8 100644
--- a/editor/plugins/theme_editor_plugin.cpp
+++ b/editor/plugins/theme_editor_plugin.cpp
@@ -588,6 +588,8 @@ void ThemeEditor::_notification(int p_what) {
time_left = 1.5;
_refresh_interval();
}
+ } else if (p_what == NOTIFICATION_THEME_CHANGED) {
+ theme_menu->set_icon(get_icon("Theme", "EditorIcons"));
}
}
@@ -627,7 +629,9 @@ ThemeEditor::ThemeEditor() {
main_vb->add_child(hb_menu);
theme_menu = memnew(MenuButton);
- theme_menu->set_text(TTR("Theme"));
+ theme_menu->set_text(TTR("Edit theme.."));
+ theme_menu->set_flat(false);
+ theme_menu->set_tooltip(TTR("Theme editing menu."));
theme_menu->get_popup()->add_item(TTR("Add Item"), POPUP_ADD);
theme_menu->get_popup()->add_item(TTR("Add Class Items"), POPUP_CLASS_ADD);
theme_menu->get_popup()->add_item(TTR("Remove Item"), POPUP_REMOVE);