mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
make sure errorOccurred is available early
This commit is contained in:
parent
db63fc51bc
commit
aef0e521e8
1 changed files with 1 additions and 1 deletions
|
@ -69,12 +69,12 @@ class AnkiQt(QMainWindow):
|
|||
self.moveToState("auto")
|
||||
# check for updates
|
||||
ui.splash.update()
|
||||
self.errorOccurred = False
|
||||
self.setupErrorHandler()
|
||||
self.setupMisc()
|
||||
self.loadPlugins()
|
||||
self.setupAutoUpdate()
|
||||
self.rebuildPluginsMenu()
|
||||
self.errorOccurred = False
|
||||
# run after-init hook
|
||||
try:
|
||||
runHook('init')
|
||||
|
|
Loading…
Reference in a new issue