Change default button to Cancel on contest log delete confirmation

This commit is contained in:
Bill Somerville 2021-03-01 22:19:08 +00:00
parent 54a99c7c22
commit 7768b9d30f
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -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