mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 13:47:13 -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):
|
def onStartReview(self):
|
||||||
self.mainWin.studyOptionsFrame.hide()
|
self.mainWin.studyOptionsFrame.hide()
|
||||||
|
# make sure the size is updated before button stack shown
|
||||||
|
self.app.processEvents()
|
||||||
self.config['showStudyOptions'] = self.mainWin.optionsButton.isChecked()
|
self.config['showStudyOptions'] = self.mainWin.optionsButton.isChecked()
|
||||||
try:
|
try:
|
||||||
self.deck.newCardsPerDay = int(self.mainWin.newPerDay.text())
|
self.deck.newCardsPerDay = int(self.mainWin.newPerDay.text())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue