Procházet zdrojové kódy

Keep custom editor theme when changing editor settings

(cherry picked from commit 56aedcee174f8f4b72ff94d616bf9cc634f494a7)
Yuri Sizov před 4 roky
rodič
revize
75cd0dc950
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      editor/editor_node.cpp

+ 1 - 1
editor/editor_node.cpp

@@ -542,7 +542,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);