summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-31 19:58:49 +0100
committerGitHub <noreply@github.com>2022-01-31 19:58:49 +0100
commitcc7d8817eb70c7a66914bbae4168fbbf2b9f29be (patch)
tree65f51ec6020f739ecb424d82be2fe988646f8c40
parentd9eeced58077e34f79e3b2b222f1c3427d84ee06 (diff)
parent65b6b140b6d8da2dea67ef53c192339a705e58bf (diff)
Merge pull request #57413 from fazil47/master
-rw-r--r--editor/editor_node.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index a1f259c864..bc55adee99 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -4222,6 +4222,8 @@ void EditorNode::_dock_floating_close_request(Control *p_control) {
_update_dock_containers();
floating_docks.erase(p_control);
+
+ _edit_current();
}
void EditorNode::_dock_make_float() {
@@ -4264,6 +4266,8 @@ void EditorNode::_dock_make_float() {
_update_dock_containers();
floating_docks.push_back(dock);
+
+ _edit_current();
}
void EditorNode::_update_dock_containers() {