diff options
author | Joris | 2022-07-09 19:50:19 +0200 |
---|---|---|
committer | Joris | 2022-07-09 19:50:19 +0200 |
commit | 300e9d12393e6dbdd6834495d58521d694778529 (patch) | |
tree | b34ea18f7ee29cf059619839a1bac6bd49455798 | |
parent | f0b77b1a041ae610e14319420f272984d9549678 (diff) |
Fix button label uppercase
-rw-r--r-- | todo/gui/tasks/dialog.py | 4 |
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( |