mirror of
https://github.com/ankitects/anki.git
synced 2025-11-14 08:37:11 -05:00
set state = nostate before sync to prevent keystrokes getting in
This commit is contained in:
parent
470a501caa
commit
b351946f55
1 changed files with 1 additions and 0 deletions
|
|
@ -1771,6 +1771,7 @@ it to your friends.
|
||||||
self.loadAfterSync = reload
|
self.loadAfterSync = reload
|
||||||
# bug triggered by preferences dialog - underlying c++ widgets are not
|
# bug triggered by preferences dialog - underlying c++ widgets are not
|
||||||
# garbage collected until the middle of the child thread
|
# garbage collected until the middle of the child thread
|
||||||
|
self.state = "nostate"
|
||||||
import gc; gc.collect()
|
import gc; gc.collect()
|
||||||
self.mainWin.welcomeText.setText(u"")
|
self.mainWin.welcomeText.setText(u"")
|
||||||
self.syncThread = ui.sync.Sync(self, u, p, interactive, create,
|
self.syncThread = ui.sync.Sync(self, u, p, interactive, create,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue