Show active task in tooltip

This commit is contained in:
Fabian 2022-02-02 19:49:11 +01:00
parent 7a9b21732e
commit c8cc0883ce

View File

@ -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):