From 633075cbfadcc8e6065f542e9961a567485a1355 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sun, 10 Jul 2022 21:00:19 +0600 Subject: [PATCH] Fix Hard Reset dialog button order --- src/qt/qt_mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index a290a7b4c..14a4ff0bc 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -579,8 +579,8 @@ void MainWindow::on_actionHard_Reset_triggered() { if (confirm_reset) { QMessageBox questionbox(QMessageBox::Icon::Question, "86Box", tr("Are you sure you want to hard reset the emulated machine?"), QMessageBox::NoButton, this); - questionbox.addButton(tr("Don't reset"), QMessageBox::AcceptRole); questionbox.addButton(tr("Reset"), QMessageBox::RejectRole); + questionbox.addButton(tr("Don't reset"), QMessageBox::AcceptRole); QCheckBox *chkbox = new QCheckBox(tr("Don't show this message again")); questionbox.setCheckBox(chkbox); chkbox->setChecked(!confirm_reset);