Skip to content

Commit 296faf4

Browse files
committed
Correction to group box enabled option
1 parent f9efdd8 commit 296faf4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/notation/view/widgets/editstyle.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ EditStyle::EditStyle(QWidget* parent)
268268
connect(tabShowTiedFrets, tabShowTiedFretsButtonClicked, this, [this](QAbstractButton*){
269269
updateParenthesisIndicatingTiesGroupState();
270270
});
271-
updateParenthesisIndicatingTiesGroupState();
272271

273272
// ====================================================
274273
// Style widgets
@@ -1971,6 +1970,8 @@ void EditStyle::setValues()
19711970
for (const LineStyleSelect* lineStyleSelect : m_lineStyleSelects) {
19721971
lineStyleSelect->update();
19731972
}
1973+
1974+
updateParenthesisIndicatingTiesGroupState();
19741975
}
19751976

19761977
//---------------------------------------------------------
@@ -2459,5 +2460,5 @@ void EditStyle::resetUserStyleName()
24592460

24602461
void EditStyle::updateParenthesisIndicatingTiesGroupState()
24612462
{
2462-
groupBox_2->setEnabled(tabShowTies->isChecked());
2463+
groupBox_2->setEnabled(tabShowTies->isChecked() || tabShowNone->isChecked());
24632464
}

0 commit comments

Comments
 (0)