radioCram

This commit is contained in:
Arthur Milchior 2020-01-30 16:59:03 -08:00
parent fc7636c194
commit 25c579926b
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ class CustomStudy(QDialog):
f.radioForgot.clicked.connect(lambda: self.onRadioChange(RADIO_FORGOT)) f.radioForgot.clicked.connect(lambda: self.onRadioChange(RADIO_FORGOT))
f.radioAhead.clicked.connect(lambda: self.onRadioChange(RADIO_AHEAD)) f.radioAhead.clicked.connect(lambda: self.onRadioChange(RADIO_AHEAD))
f.radioPreview.clicked.connect(lambda: self.onRadioChange(RADIO_PREVIEW)) f.radioPreview.clicked.connect(lambda: self.onRadioChange(RADIO_PREVIEW))
f.radio6.clicked.connect(lambda: self.onRadioChange(6)) f.radioCram.clicked.connect(lambda: self.onRadioChange(RADIO_CRAM))
def onRadioChange(self, idx): def onRadioChange(self, idx):
f = self.form f = self.form

View File

@ -45,7 +45,7 @@
</widget> </widget>
</item> </item>
<item row="5" column="0"> <item row="5" column="0">
<widget class="QRadioButton" name="radio6"> <widget class="QRadioButton" name="radioCram">
<property name="text"> <property name="text">
<string>Study by card state or tag</string> <string>Study by card state or tag</string>
</property> </property>
@ -168,7 +168,7 @@
<tabstop>radioForgot</tabstop> <tabstop>radioForgot</tabstop>
<tabstop>radioAhead</tabstop> <tabstop>radioAhead</tabstop>
<tabstop>radioPreview</tabstop> <tabstop>radioPreview</tabstop>
<tabstop>radio6</tabstop> <tabstop>radioCram</tabstop>
<tabstop>spin</tabstop> <tabstop>spin</tabstop>
<tabstop>buttonBox</tabstop> <tabstop>buttonBox</tabstop>
</tabstops> </tabstops>