diff --git a/qt/aqt/customstudy.py b/qt/aqt/customstudy.py index 8416fd212..2fcbbcf51 100644 --- a/qt/aqt/customstudy.py +++ b/qt/aqt/customstudy.py @@ -32,12 +32,12 @@ class CustomStudy(QDialog): f.setupUi(self) self.setWindowModality(Qt.WindowModal) self.setupSignals() - f.radio1.click() + f.radioNew.click() self.exec_() def setupSignals(self): f = self.form - f.radio1.clicked.connect(lambda: self.onRadioChange(1)) + f.radioNew.clicked.connect(lambda: self.onRadioChange(RADIO_NEW)) f.radio2.clicked.connect(lambda: self.onRadioChange(2)) f.radio3.clicked.connect(lambda: self.onRadioChange(3)) f.radio4.clicked.connect(lambda: self.onRadioChange(4)) diff --git a/qt/designer/customstudy.ui b/qt/designer/customstudy.ui index a2638641f..34832f69a 100644 --- a/qt/designer/customstudy.ui +++ b/qt/designer/customstudy.ui @@ -31,7 +31,7 @@ - + Increase today's new card limit @@ -163,7 +163,7 @@ - radio1 + radioNew radio2 radio3 radio4