summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2021-05-12 16:08:21 +0300
committerYuri Sizov <yuris@humnom.net>2021-05-12 16:08:21 +0300
commit56aedcee174f8f4b72ff94d616bf9cc634f494a7 (patch)
treec2da14c0cf43987438c2c4da62d4a2a80c84fc3b
parentde3747fc378383e9df1dc98849e3235f280338b7 (diff)
Keep custom editor theme when changing editor settings
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 7aed5b2b7f..a4cc364795 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -628,7 +628,7 @@ void EditorNode::_notification(int p_what) {
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
scene_tabs->set_tab_close_display_policy((bool(EDITOR_GET("interface/scene_tabs/always_show_close_button")) ? Tabs::CLOSE_BUTTON_SHOW_ALWAYS : Tabs::CLOSE_BUTTON_SHOW_ACTIVE_ONLY));
- theme = create_editor_theme(theme_base->get_theme());
+ theme = create_custom_theme(theme_base->get_theme());
theme_base->set_theme(theme);
gui_base->set_theme(theme);