NOISSUE fix reversed MCEdit check condition
It was causing fake errors.
This commit is contained in:
parent
85b64ad767
commit
ac66af6c13
@ -186,7 +186,7 @@ void ExternalToolsPage::on_mceditPathBtn_clicked()
|
|||||||
void ExternalToolsPage::on_mceditCheckBtn_clicked()
|
void ExternalToolsPage::on_mceditCheckBtn_clicked()
|
||||||
{
|
{
|
||||||
QString error;
|
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));
|
QMessageBox::critical(this, tr("Error"), tr("Error while checking MCEdit install:\n%1").arg(error));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user