diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-12-14 08:56:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-14 08:56:42 +0100 |
commit | 491743d670c82be5fb6b193e1a06074ab994fe61 (patch) | |
tree | f5466c8c3f3f85f558e8905bdb6688844e0c2334 | |
parent | 8c734dfbb99572f6fed9f25a4a8e1596e5b5b92a (diff) | |
parent | 2e4752bdbaa79ec27b3c97d352b3c35ae4676a4e (diff) |
Merge pull request #24331 from mineevgleb/resource-undo-redo
#23231: make resource changes in a nested inspector undoable
-rw-r--r-- | editor/editor_properties.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index ff7ab051b5..b992b90758 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -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); |