Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
close settings on tray exit to remove settings lock
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Aug 24, 2022
1 parent ef1081b commit d0036ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openpype/modules/settings_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ def tray_init(self):
"""Initialization in tray implementation of ITrayAction."""
self.create_settings_window()

def tray_exit(self):
# Close settings UI to remove settings lock
if self.settings_window:
self.settings_window.close()

def on_action_trigger(self):
"""Implementation for action trigger of ITrayAction."""
self.show_settings_window()
Expand Down

0 comments on commit d0036ac

Please sign in to comment.