summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/sequence_property.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/sequence_property.h')
-rw-r--r--libs/pbd/pbd/sequence_property.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/pbd/pbd/sequence_property.h b/libs/pbd/pbd/sequence_property.h
index 8bbc7c77d2..d9ef6255d2 100644
--- a/libs/pbd/pbd/sequence_property.h
+++ b/libs/pbd/pbd/sequence_property.h
@@ -123,6 +123,11 @@ class SequenceProperty : public PropertyBase
_change.removed.clear ();
}
+ void set_state_from_property (PropertyBase const * p) {
+ const ChangeRecord& change (dynamic_cast<const SequenceProperty*> (p)->change ());
+ update (change);
+ }
+
/** Given a record of changes to this property, pass it to a callback that will
* update the property in some appropriate way.
*