Skip to content

Commit

Permalink
fix(widget): update label when worker thread is not started
Browse files Browse the repository at this point in the history
  • Loading branch information
amnweb committed Nov 26, 2024
1 parent 78d30ea commit 9c2dbc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/widgets/yasb/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ def _exec_callback(self):
worker.data_ready.connect(self._handle_exec_data)
worker.finished.connect(worker.deleteLater)
worker_thread.start()
else:
self._update_label()


def _handle_exec_data(self, exec_data):
Expand Down

0 comments on commit 9c2dbc2

Please sign in to comment.