Merge pull request #2362 from AlexHolly/update-scene-tab-fix
[UI-FIX] - Update scene tabs on save
This commit is contained in:
commit
c22b627ee3
2 changed files with 10 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue