mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
revert vendor files
This commit is contained in:
parent
35a2c7dd13
commit
4cf1edc3c3
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ def _nuke_main_window():
|
|||
"""Return Nuke's main window"""
|
||||
for obj in QtWidgets.QApplication.topLevelWidgets():
|
||||
if (obj.inherits('QMainWindow') and
|
||||
obj.metaObject().className() == 'Foundry::UI::DockMainWindow'):
|
||||
obj.metaObject().className() == 'Foundry::UI::DockMainWindow'):
|
||||
return obj
|
||||
raise RuntimeError('Could not find Nuke MainWindow instance')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue