diff options
author | musiclover <musiclover382@protonmail.com> | 2022-04-04 14:37:47 +0200 |
---|---|---|
committer | musiclover <musiclover382@protonmail.com> | 2022-04-04 14:37:47 +0200 |
commit | fe9f283041ed8544aebae6739b6761390dc9fb27 (patch) | |
tree | b03cf31ce53440d1c7d75eb4c8915b519b86e3fa | |
parent | 737bb24daceef281aba3dfefa9b161cf2a34d0a5 (diff) | |
download | Furtherance-fe9f283041ed8544aebae6739b6761390dc9fb27.tar.zst |
Small fix in UI
Move Delete button to the right in the Delete All? dialog
-rwxr-xr-x | src/ui/task_details.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/task_details.rs b/src/ui/task_details.rs index 62438d3..7e306e8 100755 --- a/src/ui/task_details.rs +++ b/src/ui/task_details.rs @@ -467,8 +467,8 @@ impl FurTaskDetails { ); dialog.set_secondary_text(Some(&gettext("This will delete all occurrences of this task on this day."))); dialog.add_buttons(&[ - (&gettext("Delete"), gtk::ResponseType::Accept), - (&gettext("Cancel"), gtk::ResponseType::Reject) + (&gettext("Cancel"), gtk::ResponseType::Reject), + (&gettext("Delete"), gtk::ResponseType::Accept) ]); dialog.connect_response(clone!(@strong dialog => move |_,resp|{ |