mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added method to update countdown label
This commit is contained in:
parent
cddf357daf
commit
4c8ae9d8a9
1 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ class WidgetUserIdle(QtWidgets.QWidget):
|
|||
self.setMaximumSize(QtCore.QSize(self.SIZE_W+100, self.SIZE_H+100))
|
||||
self.setStyleSheet(style.load_stylesheet())
|
||||
|
||||
def _update_countdown_label(self):
|
||||
self.lbl_rest_time.setText(str(self._countdown))
|
||||
|
||||
def _refresh_context(self):
|
||||
self.lbl_question.setVisible(not self._timer_stopped)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue