radioPreview

This commit is contained in:
Arthur Milchior 2020-01-30 16:57:52 -08:00
parent 7e0b4522fb
commit fc7636c194
2 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@ class CustomStudy(QDialog):
f.radioRev.clicked.connect(lambda: self.onRadioChange(RADIO_REV))
f.radioForgot.clicked.connect(lambda: self.onRadioChange(RADIO_FORGOT))
f.radioAhead.clicked.connect(lambda: self.onRadioChange(RADIO_AHEAD))
f.radio5.clicked.connect(lambda: self.onRadioChange(5))
f.radioPreview.clicked.connect(lambda: self.onRadioChange(RADIO_PREVIEW))
f.radio6.clicked.connect(lambda: self.onRadioChange(6))
def onRadioChange(self, idx):

View File

@ -52,7 +52,7 @@
</widget>
</item>
<item row="4" column="0">
<widget class="QRadioButton" name="radio5">
<widget class="QRadioButton" name="radioPreview">
<property name="text">
<string>Preview new cards</string>
</property>
@ -167,6 +167,7 @@
<tabstop>radioRev</tabstop>
<tabstop>radioForgot</tabstop>
<tabstop>radioAhead</tabstop>
<tabstop>radioPreview</tabstop>
<tabstop>radio6</tabstop>
<tabstop>spin</tabstop>
<tabstop>buttonBox</tabstop>