prevent window from growing when review started

This commit is contained in:
Damien Elmes 2009-02-07 21:46:59 +09:00
parent 3591560e61
commit 61c30a9d29

View file

@ -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())