mirror of
https://github.com/godotengine/godot.git
synced 2026-02-21 19:30:52 +00:00
Unify usage of undo_redo in editor
This commit is contained in:
@@ -117,13 +117,11 @@ NodeDock::NodeDock() {
|
||||
groups_button->connect("pressed", callable_mp(this, &NodeDock::show_groups));
|
||||
|
||||
connections = memnew(ConnectionsDock);
|
||||
connections->set_undo_redo(EditorNode::get_undo_redo());
|
||||
add_child(connections);
|
||||
connections->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
connections->hide();
|
||||
|
||||
groups = memnew(GroupsEditor);
|
||||
groups->set_undo_redo(EditorNode::get_undo_redo());
|
||||
add_child(groups);
|
||||
groups->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
groups->hide();
|
||||
|
||||
Reference in New Issue
Block a user