summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-10-17 10:51:45 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-10-17 10:51:45 -0300
commitc22b627ee34a5849955192b18c6cbaee612a4cc0 (patch)
tree6dd13f0ea91e97d53bee06a86cb4dec7758254a8 /tools/editor
parent277a339cf0cbcd4132180879d15c85cad34f7e10 (diff)
parentf6eff87793a3200e728bcc4dc33dc9c612d73036 (diff)
Merge pull request #2362 from AlexHolly/update-scene-tab-fix
[UI-FIX] - Update scene tabs on save
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index 54b47be49c..f007e95494 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -976,6 +976,7 @@ void EditorNode::_save_scene(String p_file) {
//EditorFileSystem::get_singleton()->update_file(p_file,sdata->get_type());
set_current_version(editor_data.get_undo_redo().get_version());
_update_title();
+ _update_scene_tabs();
} else {
_dialog_display_file_error(p_file,err);
@@ -1399,7 +1400,6 @@ void EditorNode::_dialog_action(String p_file) {
} break;
default: { //save scene?
-
if (file->get_mode()==FileDialog::MODE_SAVE_FILE) {
//_save_scene(p_file);