summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-11 13:03:11 +0200
committerGitHub <noreply@github.com>2018-09-11 13:03:11 +0200
commit4c37ea59be1e85b397c48577857b783db10f22d5 (patch)
treeb27657dbfaec4d747d2da93178aab584d038297e
parent890fc101cc4861f11bf1555edd89b7d8f9d808bb (diff)
parent909885642a09d8365bd0465845dc779e68f8076a (diff)
Merge pull request #21971 from scayze/window_title_update
Update window title when switching scenes
-rw-r--r--editor/editor_node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 172e340dab..19173c6b44 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -2757,6 +2757,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
}