aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--todo/gui/tasks/dialog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/todo/gui/tasks/dialog.py b/todo/gui/tasks/dialog.py
index 9cfa2be..ae7a945 100644
--- a/todo/gui/tasks/dialog.py
+++ b/todo/gui/tasks/dialog.py
@@ -14,7 +14,7 @@ def add(parent_widget, status: Status, add_task_signal):
task = todo.service.tasks.create(todo.database.cursor(), status, task_form)
add_task_signal.emit(task, task_form.tags)
- return widget(parent_widget, "Ajouter une tâche", "ajouter", None, [], on_add)
+ return widget(parent_widget, "Ajouter une tâche", "Ajouter", None, [], on_add)
def update(parent_widget, update_task_signal, row: int, task: Task, tags: List[int]):
@@ -22,7 +22,7 @@ def update(parent_widget, update_task_signal, row: int, task: Task, tags: List[i
updated_task = todo.service.tasks.update(todo.database.cursor(), task, tags, task_form)
update_task_signal.emit(row, updated_task, task_form.tags)
- return widget(parent_widget, "Modifier une tâche", "modifier", task, tags, on_update)
+ return widget(parent_widget, "Modifier une tâche", "Modifier", task, tags, on_update)
def confirm_delete(parent, rows: List[int], on_confirm):
confirm = QtWidgets.QMessageBox.question(