[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:
parent
8488d8f6a5
commit
94fc1dc745
@ -645,8 +645,13 @@ Location::set_state (const XMLNode& node, int version)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Flags old_flags (_flags);
|
||||||
_flags = Flags (string_2_enum (prop->value(), _flags));
|
_flags = Flags (string_2_enum (prop->value(), _flags));
|
||||||
|
|
||||||
|
if (old_flags != _flags) {
|
||||||
|
FlagsChanged ();
|
||||||
|
}
|
||||||
|
|
||||||
if ((prop = node.property ("locked")) != 0) {
|
if ((prop = node.property ("locked")) != 0) {
|
||||||
_locked = string_is_affirmative (prop->value());
|
_locked = string_is_affirmative (prop->value());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user