Procházet zdrojové kódy

Update project window title when a project setting was changed

Co-authored-by: Haoyu Qiu <[email protected]>
Marius Hanl před 2 roky
rodič
revize
9ea2ef7c44
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      editor/editor_node.cpp

+ 2 - 0
editor/editor_node.cpp

@@ -5626,6 +5626,8 @@ void EditorNode::_project_settings_changed() {
 	tree->set_debug_collision_contact_color(GLOBAL_GET("debug/shapes/collision/contact_color"));
 	tree->set_debug_navigation_color(GLOBAL_GET("debug/shapes/navigation/geometry_color"));
 	tree->set_debug_navigation_disabled_color(GLOBAL_GET("debug/shapes/navigation/disabled_geometry_color"));
+
+	_update_title();
 }
 
 void EditorNode::_feature_profile_changed() {