Merge pull request #20184 from cbjeukendrup/fix_undo_edit_chord_symbol
Fix undo editing chord symbol text
This commit is contained in:
commit
610ee29aa6
1 changed files with 8 additions and 1 deletions
|
@ -3422,7 +3422,14 @@ void TextBase::undoChangeProperty(Pid id, const PropertyValue& v, PropertyFlags
|
|||
}
|
||||
}
|
||||
|
||||
if (propertyGroup(id) != PropertyGroup::TEXT) {
|
||||
static const PropertyIdSet CHARACTER_SPECIFIC_PROPERTIES {
|
||||
Pid::FONT_STYLE,
|
||||
Pid::FONT_FACE,
|
||||
Pid::FONT_SIZE,
|
||||
Pid::TEXT_SCRIPT_ALIGN
|
||||
};
|
||||
|
||||
if (!mu::contains(CHARACTER_SPECIFIC_PROPERTIES, id)) {
|
||||
EngravingItem::undoChangeProperty(id, v, ps);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue