diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-02 02:55:16 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-02 02:55:16 +0100 |
commit | ac66af6c13604a4eb2d36cc82417aa6753b84afe (patch) | |
tree | c62a704006e23ed01a4a0555c036248966445b5d | |
parent | 85b64ad76705cd152fb2b0525de75fe4e832c31c (diff) | |
download | MultiMC-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.
-rw-r--r-- | application/pages/global/ExternalToolsPage.cpp | 2 |
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)); } |