Skip to content

Commit

Permalink
Make sure to load Qt resources
Browse files Browse the repository at this point in the history
  • Loading branch information
glutanimate committed Aug 10, 2019
1 parent 7ed63c0 commit 7313ba7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cloze_overlapper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
from anki.hooks import addHook

from .gui.options_global import initializeOptions
from .gui import initializeQtResources
from .template import initializeModels
from .editor import initializeEditor
from .sched import initializeScheduler
Expand All @@ -55,6 +56,7 @@ def delayedInit():
initializeModels()
initializeScheduler()

initializeQtResources()
addHook("profileLoaded", delayedInit)
initializeOptions()
initializeEditor()
Expand Down

0 comments on commit 7313ba7

Please sign in to comment.