mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
move errorOccurred up the top
This commit is contained in:
parent
783e9ceac9
commit
8259347f34
1 changed files with 1 additions and 1 deletions
|
@ -31,6 +31,7 @@ config = ankiqt.config
|
||||||
class AnkiQt(QMainWindow):
|
class AnkiQt(QMainWindow):
|
||||||
def __init__(self, app, config, args):
|
def __init__(self, app, config, args):
|
||||||
QMainWindow.__init__(self)
|
QMainWindow.__init__(self)
|
||||||
|
self.errorOccurred = False
|
||||||
if sys.platform.startswith("darwin"):
|
if sys.platform.startswith("darwin"):
|
||||||
qt_mac_set_menubar_icons(False)
|
qt_mac_set_menubar_icons(False)
|
||||||
ankiqt.mw = self
|
ankiqt.mw = self
|
||||||
|
@ -69,7 +70,6 @@ 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()
|
||||||
|
|
Loading…
Reference in a new issue