diff options
| author | Tannin <devnull@localhost> | 2014-06-14 09:17:57 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-06-14 09:17:57 +0200 |
| commit | 5b3cdaa83bf0e6651bb2f175f810ab7f311ca232 (patch) | |
| tree | 716ae948ab1c94f7cea0260c9d379c5b50c45b45 /src/settings.cpp | |
| parent | 5a4b6e70fd815c9052ff71a4244bdeb707e92ba1 (diff) | |
bugfix: the warning dialog upon changing the mod directory didn't have an effect, the process couldn't be canceled
Diffstat (limited to 'src/settings.cpp')
| -rw-r--r-- | src/settings.cpp | 2 |
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())); } } |
