diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 821052816..49f0e8d6e 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -1771,6 +1771,7 @@ it to your friends. self.loadAfterSync = reload # bug triggered by preferences dialog - underlying c++ widgets are not # garbage collected until the middle of the child thread + self.state = "nostate" import gc; gc.collect() self.mainWin.welcomeText.setText(u"") self.syncThread = ui.sync.Sync(self, u, p, interactive, create,