From 7768b9d30fcf59a87cc64380b7ffdba8e5e942d1 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Mon, 1 Mar 2021 22:19:08 +0000 Subject: [PATCH] Change default button to Cancel on contest log delete confirmation --- widgets/AbstractLogWindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/widgets/AbstractLogWindow.cpp b/widgets/AbstractLogWindow.cpp index cbe2b8735..b8e2d7e7a 100644 --- a/widgets/AbstractLogWindow.cpp +++ b/widgets/AbstractLogWindow.cpp @@ -64,7 +64,10 @@ void AbstractLogWindow::impl::delete_QSOs () , tr ("Confirm Delete") , tr ("Are you sure you want to delete the %n " "selected QSO(s) from the log?", "" - , row_indexes.size ()))) + , row_indexes.size ()) + , QString {} + , MessageBox::Yes | MessageBox::No + , MessageBox::No)) { // We must work with source model indexes because we don't want row // removes to invalidate model indexes we haven't yet processed. We