diff options
author | Manuel Strey <manuel.strey@gmx.de> | 2018-09-11 12:28:32 +0200 |
---|---|---|
committer | Manuel Strey <manuel.strey@gmx.de> | 2018-09-11 12:28:32 +0200 |
commit | 909885642a09d8365bd0465845dc779e68f8076a (patch) | |
tree | 0ee1ed487157070bb6faf801bf4be4e1a3e885f6 | |
parent | c320d9394d82b755e2ccffb0d8fac3e9df61396b (diff) |
update window title when switching scenes
-rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 3eebb73cdb..1dc31fa8e3 100644 --- a/editor/editor_node.cpp +++ b/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 } |