diff options
author | VKamyshniy <VKamyshniy@wavesglobal.com> | 2015-02-19 22:04:33 +0200 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-29 14:18:12 -0400 |
commit | 94fc1dc745de6dcce5a536b5e0e73d282c449cbe (patch) | |
tree | bded07b3d6338615f576856b4334df7c03acb24d /libs/ardour/location.cc | |
parent | 8488d8f6a53d3385893a435481cb60ed21c21ea0 (diff) |
[Summary] In Location::set_state - adding emitted FlagsChanged (if any flag changed). This is not a hot fix - it's for UNDO changed skipping state for SKIP markers. Paul has approved this change.
Diffstat (limited to 'libs/ardour/location.cc')
-rw-r--r-- | libs/ardour/location.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc index e890911225..1c08f8e2ae 100644 --- a/libs/ardour/location.cc +++ b/libs/ardour/location.cc @@ -645,8 +645,13 @@ Location::set_state (const XMLNode& node, int version) return -1; } + Flags old_flags (_flags); _flags = Flags (string_2_enum (prop->value(), _flags)); + if (old_flags != _flags) { + FlagsChanged (); + } + if ((prop = node.property ("locked")) != 0) { _locked = string_is_affirmative (prop->value()); } else { |