mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
use right import of qt_app_context function
This commit is contained in:
parent
e4dff2f171
commit
7e7a9c42cb
3 changed files with 7 additions and 11 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue