use right import of qt_app_context function

This commit is contained in:
iLLiCiTiT 2021-11-24 21:52:26 +01:00
parent e4dff2f171
commit 7e7a9c42cb
3 changed files with 7 additions and 11 deletions

View file

@ -631,7 +631,7 @@ def show(debug=False, parent=None, use_context=False):
api.Session["AVALON_PROJECT"] = any_project["name"]
module.project = any_project["name"]
with lib.application():
with lib.qt_app_context():
window = LoaderWindow(parent)
window.show()