13
0

[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.

This commit is contained in:
VKamyshniy 2015-02-19 22:04:33 +02:00 committed by Paul Davis
parent 8488d8f6a5
commit 94fc1dc745

View File

@ -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 {