Merge pull request #24331 from mineevgleb/resource-undo-redo
#23231: make resource changes in a nested inspector undoable
This commit is contained in:
commit
491743d670
|
@ -2421,6 +2421,7 @@ void EditorPropertyResource::update_property() {
|
||||||
sub_inspector->set_keying(is_keying());
|
sub_inspector->set_keying(is_keying());
|
||||||
sub_inspector->set_read_only(is_read_only());
|
sub_inspector->set_read_only(is_read_only());
|
||||||
sub_inspector->set_use_folding(is_using_folding());
|
sub_inspector->set_use_folding(is_using_folding());
|
||||||
|
sub_inspector->set_undo_redo(EditorNode::get_singleton()->get_undo_redo());
|
||||||
|
|
||||||
sub_inspector_vbox = memnew(VBoxContainer);
|
sub_inspector_vbox = memnew(VBoxContainer);
|
||||||
add_child(sub_inspector_vbox);
|
add_child(sub_inspector_vbox);
|
||||||
|
|
Loading…
Reference in a new issue