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

Commit

Permalink
enhancement/OP-8033
Browse files Browse the repository at this point in the history
  • Loading branch information
Braden Jennings committed Feb 6, 2024
1 parent 77f59eb commit 1c9c125
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openpype/modules/timers_manager/timers_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ def tray_init(self):
def tray_start(self, *_a, **_kw):
if self._idle_manager:
self._idle_manager.start()
self.show_message()

def tray_exit(self):
if self._idle_manager:
Expand Down Expand Up @@ -373,8 +374,8 @@ def connect_with_modules(self, enabled_modules):
).format(module.name))

def show_message(self):
if self.is_running is False:
return
# if self.is_running is False:
# return
if not self._widget_user_idle.is_showed():
self._widget_user_idle.reset_countdown()
self._widget_user_idle.show()
Expand Down
1 change: 1 addition & 0 deletions openpype/modules/timers_manager/widget_user_idle.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def __init__(self, module):
self.setWindowFlags(
QtCore.Qt.WindowCloseButtonHint
| QtCore.Qt.WindowMinimizeButtonHint
| QtCore.Qt.WindowStaysOnTopHint
)

self._is_showed = False
Expand Down

0 comments on commit 1c9c125

Please sign in to comment.