Only show Nothing, when Nothing is selected yet
This commit is contained in:
parent
f99960a96c
commit
e89fbe18d7
1
main.py
1
main.py
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user