From c8cc0883ceb47e11954d4a62ad79da8f5d528f7a Mon Sep 17 00:00:00 2001 From: Faerbit Date: Wed, 2 Feb 2022 19:49:11 +0100 Subject: [PATCH] Show active task in tooltip --- src/fime/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fime/main.py b/src/fime/main.py index 4ad4a84..3086e95 100755 --- a/src/fime/main.py +++ b/src/fime/main.py @@ -81,12 +81,13 @@ class App: @active_task.setter def active_task(self, task): self._active_task = task - self.tasks.update_jira_task_usage(self._active_task) + self.tray.setToolTip(f"{task} - fime") self.update_tray_menu() def change_task(self, task): self.active_task = task self.log.log(task) + self.tasks.update_jira_task_usage(task) def update_tray_menu(self): def add_tasks(tasks):