From 300e9d12393e6dbdd6834495d58521d694778529 Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 9 Jul 2022 19:50:19 +0200 Subject: Fix button label uppercase --- todo/gui/tasks/dialog.py | 4 ++-- 1 file 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( -- cgit v1.2.3