forked from qt-creator/qt-creator
Disable the rebuild debug helper button in case of invalid qt version.
This commit is contained in:
@@ -607,7 +607,7 @@ void QtOptionsPageWidget::updateCurrentQtPath()
|
|||||||
m_ui->rebuildButton->setEnabled(true);
|
m_ui->rebuildButton->setEnabled(true);
|
||||||
} else {
|
} else {
|
||||||
currentItem->setData(2, Qt::DecorationRole, QIcon());
|
currentItem->setData(2, Qt::DecorationRole, QIcon());
|
||||||
m_ui->rebuildButton->setEnabled(true);
|
m_ui->rebuildButton->setEnabled(false);
|
||||||
}
|
}
|
||||||
updateDebuggingHelperStateLabel(version);
|
updateDebuggingHelperStateLabel(version);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user