mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
trigger show message if tray is already running
This commit is contained in:
parent
3156e91e97
commit
dce3a4b6a2
1 changed files with 4 additions and 0 deletions
|
|
@ -383,6 +383,10 @@ def main():
|
|||
|
||||
state = get_tray_state()
|
||||
if state == TrayState.RUNNING:
|
||||
show_message_in_tray(
|
||||
"Tray is already running",
|
||||
"Your AYON tray application is already running."
|
||||
)
|
||||
print("Tray is already running.")
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue