mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #3720 from pypeclub/feature/close_settings_lock_on_tray_exit
Settings: Remove settings lock on tray exit
This commit is contained in:
commit
b8b5b1d197
2 changed files with 6 additions and 1 deletions
|
|
@ -23,6 +23,11 @@ class SettingsAction(OpenPypeModule, ITrayAction):
|
|||
"""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()
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class BaseInfoDialog(QtWidgets.QDialog):
|
|||
):
|
||||
other_information_layout.addRow(
|
||||
label,
|
||||
QtWidgets.QLabel(value, other_information)
|
||||
QtWidgets.QLabel(value or "N/A", other_information)
|
||||
)
|
||||
|
||||
timestamp_label = QtWidgets.QLabel(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue