save and restore MuseJazz correctly in style dialog
This commit is contained in:
parent
12e848f8a4
commit
f4a34a2f2a
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ void EditStyle::setValues()
|
|||
musicalTextFont->addItem("Bravura Text", "Bravura Text");
|
||||
musicalTextFont->addItem("MuseJazz", "MuseJazz");
|
||||
QString tfont(lstyle.value(StyleIdx::MusicalTextFont).toString());
|
||||
idx = tfont == "Bravura Text" ? 1 : 0;
|
||||
idx = musicalTextFont->findData(tfont);
|
||||
musicalTextFont->setCurrentIndex(idx);
|
||||
|
||||
showHeader->setChecked(lstyle.value(StyleIdx::showHeader).toBool());
|
||||
|
|
Loading…
Reference in a new issue