Only show Nothing, when Nothing is selected yet

This commit is contained in:
Fabian 2021-11-16 17:19:11 +01:00
parent f99960a96c
commit e89fbe18d7

View File

@ -57,6 +57,7 @@ class App:
self.menu.clear() self.menu.clear()
tasks = list(self.tasks.tasks) tasks = list(self.tasks.tasks)
tasks.append("Pause") tasks.append("Pause")
if self.active_task == "Nothing":
tasks.append("Nothing") tasks.append("Nothing")
for t in tasks: for t in tasks: