mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
make sure move to question only happens once
This commit is contained in:
parent
6297a8c2f5
commit
49178bd6ae
1 changed files with 3 additions and 3 deletions
|
@ -1309,6 +1309,9 @@ later by clicking on the left-pointing arrow on the toolbar.
|
||||||
SIGNAL("textChanged(QString)"), self.onMinuteLimitChanged)
|
SIGNAL("textChanged(QString)"), self.onMinuteLimitChanged)
|
||||||
self.connect(self.mainWin.newPerDay,
|
self.connect(self.mainWin.newPerDay,
|
||||||
SIGNAL("textChanged(QString)"), self.onNewLimitChanged)
|
SIGNAL("textChanged(QString)"), self.onNewLimitChanged)
|
||||||
|
self.connect(self.mainWin.startReviewingButton,
|
||||||
|
SIGNAL("clicked()"),
|
||||||
|
self.onStartReview)
|
||||||
|
|
||||||
def onMinuteLimitChanged(self, qstr):
|
def onMinuteLimitChanged(self, qstr):
|
||||||
try:
|
try:
|
||||||
|
@ -1443,9 +1446,6 @@ learnt today")
|
||||||
else:
|
else:
|
||||||
self.mainWin.startReviewingButton.setText(_("Start &Reviewing"))
|
self.mainWin.startReviewingButton.setText(_("Start &Reviewing"))
|
||||||
self.mainWin.startReviewingButton.setFocus()
|
self.mainWin.startReviewingButton.setFocus()
|
||||||
self.connect(self.mainWin.startReviewingButton,
|
|
||||||
SIGNAL("clicked()"),
|
|
||||||
self.onStartReview)
|
|
||||||
self.setupStudyOptions()
|
self.setupStudyOptions()
|
||||||
self.mainWin.studyOptionsFrame.show()
|
self.mainWin.studyOptionsFrame.show()
|
||||||
self.mainWin.studyOptionsFrame.setFixedWidth(
|
self.mainWin.studyOptionsFrame.setFixedWidth(
|
||||||
|
|
Loading…
Reference in a new issue