GH-2487 Make NO the default button

This commit is contained in:
Elise 2019-02-26 16:56:08 -05:00
parent ae956d8fd6
commit a5e531d4f1

View File

@ -1634,7 +1634,8 @@ void MainWindow::on_actionDeleteInstance_triggered()
tr("CAREFUL!"), tr("CAREFUL!"),
tr("About to delete: %1\nThis is permanent and will completely delete the instance.\n\nAre you sure?").arg(m_selectedInstance->name()), tr("About to delete: %1\nThis is permanent and will completely delete the instance.\n\nAre you sure?").arg(m_selectedInstance->name()),
QMessageBox::Warning, QMessageBox::Warning,
QMessageBox::Yes | QMessageBox::No QMessageBox::Yes | QMessageBox::No,
QMessageBox::No
)->exec(); )->exec();
if (response == QMessageBox::Yes) if (response == QMessageBox::Yes)
{ {