mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
don't require restart to update kanji stats
This commit is contained in:
parent
b8f3a25536
commit
bbdcbf1153
3 changed files with 4 additions and 3 deletions
|
@ -308,13 +308,10 @@ Please do not file a bug report with Anki.\n\n""")
|
|||
earliest time returned %f
|
||||
counts are %d %d %d
|
||||
according to the db %d %d %d
|
||||
|
||||
failed:
|
||||
%s
|
||||
|
||||
rev:
|
||||
%s
|
||||
|
||||
new:
|
||||
%s""" % (delay,
|
||||
self.deck.failedSoonCount,
|
||||
|
|
|
@ -83,6 +83,8 @@ class ModelChooser(QHBoxLayout):
|
|||
self.drawModels()
|
||||
self.changed(model)
|
||||
self.deck.setModified()
|
||||
# check again
|
||||
self.deck.haveJapanese = None
|
||||
|
||||
def onChange(self, idx):
|
||||
model = self.deck.models[idx]
|
||||
|
|
|
@ -477,4 +477,6 @@ class ModelProperties(QDialog):
|
|||
if self.onFinish:
|
||||
self.onFinish()
|
||||
self.parent.deck.setUndoEnd(self.undoName)
|
||||
# check again
|
||||
self.parent.deck.haveJapanese = None
|
||||
QDialog.reject(self)
|
||||
|
|
Loading…
Reference in a new issue