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")
|
self.moveToState("auto")
|
||||||
# check for updates
|
# check for updates
|
||||||
ui.splash.update()
|
ui.splash.update()
|
||||||
|
self.errorOccurred = False
|
||||||
self.setupErrorHandler()
|
self.setupErrorHandler()
|
||||||
self.setupMisc()
|
self.setupMisc()
|
||||||
self.loadPlugins()
|
self.loadPlugins()
|
||||||
self.setupAutoUpdate()
|
self.setupAutoUpdate()
|
||||||
self.rebuildPluginsMenu()
|
self.rebuildPluginsMenu()
|
||||||
self.errorOccurred = False
|
|
||||||
# run after-init hook
|
# run after-init hook
|
||||||
try:
|
try:
|
||||||
runHook('init')
|
runHook('init')
|
||||||
|
|
Loading…
Reference in a new issue