From 5b3cdaa83bf0e6651bb2f175f810ab7f311ca232 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sat, 14 Jun 2014 09:17:57 +0200 Subject: bugfix: the warning dialog upon changing the mod directory didn't have an effect, the process couldn't be canceled --- src/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index d63aabe4..b8c02c69 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -680,7 +680,7 @@ void Settings::query(QWidget *parent) (QMessageBox::question(NULL, tr("Confirm"), tr("Changing the mod directory affects all your profiles! " "Mods not present (or named differently) in the new location will be disabled in all profiles. " "There is no way to undo this unless you backed up your profiles manually. Proceed?"), - QMessageBox::Yes | QMessageBox::No))) { + QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes)) { m_Settings.setValue("Settings/mod_directory", QDir::toNativeSeparators(modDirEdit->text())); } } -- cgit v1.3.1