diff options
author | Fazil Babu <fazil47babu@gmail.com> | 2022-01-30 00:02:36 +0530 |
---|---|---|
committer | Fazil Babu <fazil47babu@gmail.com> | 2022-01-30 12:11:27 +0530 |
commit | 65b6b140b6d8da2dea67ef53c192339a705e58bf (patch) | |
tree | 823189062c0ec21d4b460f055d9f7e2b48263556 | |
parent | e4265e86ceee1bf08bd92b85b51e969310a08bd6 (diff) |
Inspector retains content when detached and when docked
-rw-r--r-- | editor/editor_node.cpp | 4 |
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() { |