mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Controller is only used when creating a new window
This commit is contained in:
parent
4d44a374ae
commit
a7f15cd21b
1 changed files with 1 additions and 2 deletions
|
|
@ -90,9 +90,8 @@ def show(parent=None):
|
|||
install_fonts()
|
||||
install_translator(app)
|
||||
|
||||
ctrl = control.Controller()
|
||||
|
||||
if self._window is None:
|
||||
ctrl = control.Controller()
|
||||
self._window = window.Window(ctrl, parent)
|
||||
self._window.destroyed.connect(on_destroyed)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue