From fc7636c1945bf7d5d5a153389b9e77532f1238a9 Mon Sep 17 00:00:00 2001 From: Arthur Milchior Date: Thu, 30 Jan 2020 16:57:52 -0800 Subject: [PATCH] radioPreview --- qt/aqt/customstudy.py | 2 +- qt/designer/customstudy.ui | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/qt/aqt/customstudy.py b/qt/aqt/customstudy.py index 7c17a57e1..c2c2512bf 100644 --- a/qt/aqt/customstudy.py +++ b/qt/aqt/customstudy.py @@ -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): diff --git a/qt/designer/customstudy.ui b/qt/designer/customstudy.ui index 145da6cf2..803fd30d5 100644 --- a/qt/designer/customstudy.ui +++ b/qt/designer/customstudy.ui @@ -52,7 +52,7 @@ - + Preview new cards @@ -167,6 +167,7 @@ radioRev radioForgot radioAhead + radioPreview radio6 spin buttonBox