#23231: make resource changes in a nested inspector undoable

This commit is contained in:
Gleb Mineev 2018-12-13 22:35:16 +01:00
parent 01fa0673a4
commit 2e4752bdba

View file

@ -2421,6 +2421,7 @@ void EditorPropertyResource::update_property() {
sub_inspector->set_keying(is_keying());
sub_inspector->set_read_only(is_read_only());
sub_inspector->set_use_folding(is_using_folding());
sub_inspector->set_undo_redo(EditorNode::get_singleton()->get_undo_redo());
sub_inspector_vbox = memnew(VBoxContainer);
add_child(sub_inspector_vbox);