Unify usage of undo_redo in editor
This commit is contained in:
parent
604abb434f
commit
15831e381b
47 changed files with 205 additions and 224 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue