summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
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()));
}
}