ensure actions are updated after plugins loaded

This commit is contained in:
Damien Elmes 2010-02-22 18:09:45 +09:00
parent c2186f2a59
commit a94e0ed29e

View file

@ -91,6 +91,8 @@ class AnkiQt(QMainWindow):
unicode(traceback.format_exc(), "utf-8", "replace")) unicode(traceback.format_exc(), "utf-8", "replace"))
ui.splash.update() ui.splash.update()
ui.splash.finish(self) ui.splash.finish(self)
# ensure actions are updated after plugins loaded
self.moveToState("auto")
self.show() self.show()
if (self.deck and self.config['syncOnLoad'] and if (self.deck and self.config['syncOnLoad'] and
self.deck.syncName): self.deck.syncName):