mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 05:37:12 -05:00
prevent window from growing when review started
This commit is contained in:
parent
3591560e61
commit
61c30a9d29
1 changed files with 2 additions and 0 deletions
|
|
@ -1116,6 +1116,8 @@ day = :d""", d=yesterday)
|
|||
|
||||
def onStartReview(self):
|
||||
self.mainWin.studyOptionsFrame.hide()
|
||||
# make sure the size is updated before button stack shown
|
||||
self.app.processEvents()
|
||||
self.config['showStudyOptions'] = self.mainWin.optionsButton.isChecked()
|
||||
try:
|
||||
self.deck.newCardsPerDay = int(self.mainWin.newPerDay.text())
|
||||
|
|
|
|||
Loading…
Reference in a new issue