Fix "Rebuild Debugging Helper" not enabled after changing path.

In the Qt Options Dialog.
This commit is contained in:
dt
2009-06-10 11:12:32 +02:00
parent d7c573054c
commit 29f1b9214d

View File

@@ -443,9 +443,11 @@ void QtOptionsPageWidget::updateCurrentQtPath()
m_ui->debuggingHelperStateLabel->setPixmap(QPixmap(":/extensionsystem/images/error.png"));
}
m_ui->showLogButton->setEnabled(hasLog);
m_ui->rebuildButton->setEnabled(true);
} else {
currentItem->setData(2, Qt::DecorationRole, QIcon());
m_ui->debuggingHelperStateLabel->setPixmap(QPixmap());
m_ui->rebuildButton->setEnabled(true);
}
}