summaryrefslogtreecommitdiffstats
path: root/editor/editor_dock_manager.cpp
diff options
context:
space:
mode:
authorkit <kitbdev@gmail.com>2024-04-17 14:32:27 -0400
committerkit <kitbdev@gmail.com>2024-04-19 17:10:38 -0400
commit55711b2ee849163135640cda0f00fcdcb0819af5 (patch)
treecbccba3435fbb6553ee8a45ee6293c3c22d8623e /editor/editor_dock_manager.cpp
parent4b7776e31bf91bd3d710277b505c196b38d8fff3 (diff)
downloadredot-engine-55711b2ee849163135640cda0f00fcdcb0819af5.tar.gz
Don't edit current when changing docks
Diffstat (limited to 'editor/editor_dock_manager.cpp')
-rw-r--r--editor/editor_dock_manager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/editor_dock_manager.cpp b/editor/editor_dock_manager.cpp
index b6250671ee..06dd33d8ab 100644
--- a/editor/editor_dock_manager.cpp
+++ b/editor/editor_dock_manager.cpp
@@ -147,7 +147,6 @@ void EditorDockManager::_update_layout() {
if (!dock_context_popup->is_inside_tree() || EditorNode::get_singleton()->is_exiting()) {
return;
}
- EditorNode::get_singleton()->edit_current();
dock_context_popup->docks_updated();
_update_docks_menu();
EditorNode::get_singleton()->save_editor_layout_delayed();