You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Inspector re-edits edited object when dock moves, closes #9287
This commit is contained in:
@@ -3939,6 +3939,7 @@ void EditorNode::_dock_select_input(const Ref<InputEvent> &p_input) {
|
||||
splits[i]->hide();
|
||||
}
|
||||
|
||||
_edit_current();
|
||||
_save_docks();
|
||||
}
|
||||
}
|
||||
@@ -3966,6 +3967,7 @@ void EditorNode::_dock_move_left() {
|
||||
dock_slot[dock_popup_selected]->move_child(current, prev->get_index());
|
||||
dock_slot[dock_popup_selected]->set_current_tab(dock_slot[dock_popup_selected]->get_current_tab() - 1);
|
||||
dock_select->update();
|
||||
_edit_current();
|
||||
_save_docks();
|
||||
}
|
||||
|
||||
@@ -3978,6 +3980,7 @@ void EditorNode::_dock_move_right() {
|
||||
dock_slot[dock_popup_selected]->move_child(next, current->get_index());
|
||||
dock_slot[dock_popup_selected]->set_current_tab(dock_slot[dock_popup_selected]->get_current_tab() + 1);
|
||||
dock_select->update();
|
||||
_edit_current();
|
||||
_save_docks();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user