diff options
author | Joris | 2020-06-06 09:07:42 +0200 |
---|---|---|
committer | Joris | 2020-06-06 09:07:42 +0200 |
commit | b244640288648f27ce1fc7be3f175703e0a3412b (patch) | |
tree | db0221e72626461837c5c30080454c1fb954a8a0 /src/gui/window.py | |
parent | 3844f76d18e376777ca4d7c124df6d6b4896a361 (diff) |
Add menu options to update tasks status
Diffstat (limited to 'src/gui/window.py')
-rw-r--r-- | src/gui/window.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/window.py b/src/gui/window.py index 35670c7..584fda6 100644 --- a/src/gui/window.py +++ b/src/gui/window.py @@ -14,13 +14,13 @@ def get(): tabs = QtWidgets.QTabWidget(window) window.setCentralWidget(tabs) - show_todo = gui.signal.Reload() + show_ready = gui.signal.Reload() show_waiting = gui.signal.Reload() show_maybe = gui.signal.Reload() def on_current_tab_changed(index: int): if index == 0: - show_todo.emit() + show_ready.emit() elif index == 1: show_waiting.emit() elif index == 2: @@ -28,7 +28,7 @@ def get(): tabs.currentChanged.connect(on_current_tab_changed) - tabs.addTab(gui.tasks.widget.widget(tabs, show_todo, Status.READY), "Todo") + tabs.addTab(gui.tasks.widget.widget(tabs, show_ready, Status.READY), "Ready") tabs.addTab(gui.tasks.widget.widget(tabs, show_waiting, Status.WAITING), "Waiting") tabs.addTab(gui.tasks.widget.widget(tabs, show_maybe, Status.MAYBE), "Maybe") tabs.addTab(gui.tags.panel.widget.widget(tabs), "Tags") |