summaryrefslogtreecommitdiffstats
path: root/core/undo_redo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/undo_redo.cpp')
-rw-r--r--core/undo_redo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/undo_redo.cpp b/core/undo_redo.cpp
index b78fd89883..2c4d9e16a8 100644
--- a/core/undo_redo.cpp
+++ b/core/undo_redo.cpp
@@ -243,6 +243,11 @@ void UndoRedo::_process_operation_list(List<Operation>::Element *E) {
case Operation::TYPE_PROPERTY: {
obj->set(op.name,op.args[0]);
+#ifdef TOOLS_ENABLED
+ Resource* res = obj->cast_to<Resource>();
+ if (res)
+ res->set_edited(true);
+#endif
} break;
case Operation::TYPE_REFERENCE: {
//do nothing