mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
OP-2414 - added wrapper
If ConsoleAppTray wont be viable this might be easier to modify
This commit is contained in:
parent
da10a8a283
commit
bfd91e0ec8
1 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ self.port = None
|
|||
self.log = logging.getLogger(__name__)
|
||||
self.log.setLevel(logging.DEBUG)
|
||||
|
||||
def execute_in_main_thread(func, *args, **kwargs):
|
||||
ConsoleTrayApp.instance().execute_in_main_thread(func, *args, **kwargs)
|
||||
|
||||
|
||||
def signature(postfix="func") -> str:
|
||||
"""Return random ECMA6 compatible function name.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue