Inspector retains content when detached and when docked
This commit is contained in:
parent
e4265e86ce
commit
65b6b140b6
1 changed files with 4 additions and 0 deletions
|
@ -4222,6 +4222,8 @@ void EditorNode::_dock_floating_close_request(Control *p_control) {
|
||||||
_update_dock_containers();
|
_update_dock_containers();
|
||||||
|
|
||||||
floating_docks.erase(p_control);
|
floating_docks.erase(p_control);
|
||||||
|
|
||||||
|
_edit_current();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorNode::_dock_make_float() {
|
void EditorNode::_dock_make_float() {
|
||||||
|
@ -4264,6 +4266,8 @@ void EditorNode::_dock_make_float() {
|
||||||
_update_dock_containers();
|
_update_dock_containers();
|
||||||
|
|
||||||
floating_docks.push_back(dock);
|
floating_docks.push_back(dock);
|
||||||
|
|
||||||
|
_edit_current();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorNode::_update_dock_containers() {
|
void EditorNode::_update_dock_containers() {
|
||||||
|
|
Loading…
Reference in a new issue