Merge pull request #5065 from MarcSabatella/289651-clef-inspector

fix #289651: show courtesy checkbox not working in clef inspector
This commit is contained in:
anatoly-os 2019-05-25 20:54:49 +02:00 committed by GitHub
commit 9514436791
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -954,7 +954,8 @@ void InspectorClef::setElement()
void InspectorClef::valueChanged(int idx)
{
// copy into 'other clef' the ShowCouretsy ser of this clef
if (idx == 6 && otherClef)
Pid pid = iList[idx].t;
if (pid == Pid::SHOW_COURTESY && otherClef)
otherClef->setShowCourtesy(c.showCourtesy->isChecked());
InspectorBase::valueChanged(idx);
}