summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@users.noreply.github.com>2019-03-23 14:23:45 +0100
committerGitHub <noreply@github.com>2019-03-23 14:23:45 +0100
commit9292d846b609355e83251d372f8d482e41308f7f (patch)
tree02fbe0eeb16883555d518353969fd0f72aacb7b5
parentbf93ba02e9dd30599753d22e029e48d1ecc122a4 (diff)
parent22db95ce3b696a580688223e5d40b6b7b3ed88a3 (diff)
downloadMultiMC-9292d846b609355e83251d372f8d482e41308f7f.tar
MultiMC-9292d846b609355e83251d372f8d482e41308f7f.tar.gz
MultiMC-9292d846b609355e83251d372f8d482e41308f7f.tar.lz
MultiMC-9292d846b609355e83251d372f8d482e41308f7f.tar.xz
MultiMC-9292d846b609355e83251d372f8d482e41308f7f.zip
Merge pull request #2565 from MultiMC/feature/deletion_harder
GH-2487 Make deleting instances harder
-rw-r--r--application/MainWindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp
index 235d458c..3c957995 100644
--- a/application/MainWindow.cpp
+++ b/application/MainWindow.cpp
@@ -1634,7 +1634,8 @@ void MainWindow::on_actionDeleteInstance_triggered()
tr("CAREFUL!"),
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::Yes | QMessageBox::No
+ QMessageBox::Yes | QMessageBox::No,
+ QMessageBox::No
)->exec();
if (response == QMessageBox::Yes)
{