GH-2487 Make NO the default button
This commit is contained in:
parent
ae956d8fd6
commit
a5e531d4f1
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user