Prechádzať zdrojové kódy

Update project window title when a project setting was changed

Co-authored-by: Haoyu Qiu <[email protected]>
Marius Hanl 2 rokov pred
rodič
commit
9ea2ef7c44
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  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() {