NOISSUE fix reversed MCEdit check condition

It was causing fake errors.
This commit is contained in:
Petr Mrázek 2016-11-02 02:55:16 +01:00
parent 85b64ad767
commit ac66af6c13

View File

@ -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));
}