From a54b7776320ef5aa02e6ef7378c2a011dc454885 Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 16 Oct 2021 20:09:55 +0200 Subject: Introduce due date Also: - Remove duration, difficulty and priority, - Translate to french. --- todo/gui/tags/panel/table/menu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'todo/gui/tags/panel/table/menu.py') diff --git a/todo/gui/tags/panel/table/menu.py b/todo/gui/tags/panel/table/menu.py index 0446841..7ceded7 100644 --- a/todo/gui/tags/panel/table/menu.py +++ b/todo/gui/tags/panel/table/menu.py @@ -31,5 +31,5 @@ def open(table, update_tag_signal, position): row = list(rows)[0] tag = table.model().get_at(row) todo.gui.tags.panel.dialog.update(table, update_tag_signal, row, tag).exec_() - elif action == delete_action: + elif action == delete_action and len(rows) > 0: todo.gui.tags.panel.dialog.confirm_delete(table, rows) -- cgit v1.2.3