mirror of
https://github.com/ankitects/anki.git
synced 2025-11-13 16:17:13 -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
|
||||
# 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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue