Browse Source

update window title when switching scenes

Manuel Strey 7 năm trước cách đây
mục cha
commit
909885642a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      editor/editor_node.cpp

+ 2 - 0
editor/editor_node.cpp

@@ -2759,6 +2759,8 @@ void EditorNode::set_current_scene(int p_idx) {
 	Dictionary state = editor_data.restore_edited_scene_state(editor_selection, &editor_history);
 	_edit_current();
 
+	_update_title();
+
 	call_deferred("_set_main_scene_state", state, get_edited_scene()); //do after everything else is done setting up
 }