Bugfix: GUI: Restore SendConfirmationDialog button default to "Yes"

The SendConfirmationDialog is used for bumping the fee, where "Send" doesn't really make sense
This commit is contained in:
Luke Dashjr
2020-12-09 22:50:31 +00:00
parent 831675c8dc
commit 8775691383
2 changed files with 4 additions and 1 deletions

View File

@@ -966,6 +966,9 @@ SendConfirmationDialog::SendConfirmationDialog(const QString& title, const QStri
setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel);
setDefaultButton(QMessageBox::Cancel);
yesButton = button(QMessageBox::Yes);
if (confirmButtonText.isEmpty()) {
confirmButtonText = yesButton->text();
}
updateYesButton();
connect(&countDownTimer, &QTimer::timeout, this, &SendConfirmationDialog::countDown);
}