diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 10:51:45 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 10:51:45 -0300 |
commit | c22b627ee34a5849955192b18c6cbaee612a4cc0 (patch) | |
tree | 6dd13f0ea91e97d53bee06a86cb4dec7758254a8 /tools/editor/editor_node.cpp | |
parent | 277a339cf0cbcd4132180879d15c85cad34f7e10 (diff) | |
parent | f6eff87793a3200e728bcc4dc33dc9c612d73036 (diff) |
Merge pull request #2362 from AlexHolly/update-scene-tab-fix
[UI-FIX] - Update scene tabs on save
Diffstat (limited to 'tools/editor/editor_node.cpp')
-rw-r--r-- | tools/editor/editor_node.cpp | 2 |
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); |