diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 4129e798c..f92de3bc7 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -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, diff --git a/ankiqt/ui/modelchooser.py b/ankiqt/ui/modelchooser.py index f63998df4..0429c706c 100644 --- a/ankiqt/ui/modelchooser.py +++ b/ankiqt/ui/modelchooser.py @@ -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] diff --git a/ankiqt/ui/modelproperties.py b/ankiqt/ui/modelproperties.py index 4a01a6c37..d575675a8 100644 --- a/ankiqt/ui/modelproperties.py +++ b/ankiqt/ui/modelproperties.py @@ -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)