summaryrefslogtreecommitdiffstats
path: root/application/pages
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-02 02:55:16 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-02 02:55:16 +0100
commitac66af6c13604a4eb2d36cc82417aa6753b84afe (patch)
treec62a704006e23ed01a4a0555c036248966445b5d /application/pages
parent85b64ad76705cd152fb2b0525de75fe4e832c31c (diff)
downloadMultiMC-ac66af6c13604a4eb2d36cc82417aa6753b84afe.tar
MultiMC-ac66af6c13604a4eb2d36cc82417aa6753b84afe.tar.gz
MultiMC-ac66af6c13604a4eb2d36cc82417aa6753b84afe.tar.lz
MultiMC-ac66af6c13604a4eb2d36cc82417aa6753b84afe.tar.xz
MultiMC-ac66af6c13604a4eb2d36cc82417aa6753b84afe.zip
NOISSUE fix reversed MCEdit check condition
It was causing fake errors.
Diffstat (limited to 'application/pages')
-rw-r--r--application/pages/global/ExternalToolsPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/pages/global/ExternalToolsPage.cpp b/application/pages/global/ExternalToolsPage.cpp
index 4c3375c8..c257b110 100644
--- a/application/pages/global/ExternalToolsPage.cpp
+++ b/application/pages/global/ExternalToolsPage.cpp
@@ -186,7 +186,7 @@ void ExternalToolsPage::on_mceditPathBtn_clicked()
void ExternalToolsPage::on_mceditCheckBtn_clicked()
{
QString error;
- if (!!MMC->mcedit()->check(ui->mceditPathEdit->text(), error))
+ if (!MMC->mcedit()->check(ui->mceditPathEdit->text(), error))
{
QMessageBox::critical(this, tr("Error"), tr("Error while checking MCEdit install:\n%1").arg(error));
}