set state = nostate before sync to prevent keystrokes getting in

This commit is contained in:
Damien Elmes 2009-06-02 03:22:40 +09:00
parent 470a501caa
commit b351946f55

View file

@ -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,