forked from qt-creator/qt-creator
CMake: don't disable widgets on configuration error
If the configuration failure was caused by an incorrect option, you want to be able to fully use the UI to fix the issue. Change-Id: I3048b1f6e0b4d88e90433df9a36ca18fa72c03c6 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -349,12 +349,6 @@ void CMakeBuildSettingsWidget::setError(const QString &message)
|
||||
m_errorMessageLabel->setVisible(showError);
|
||||
m_errorMessageLabel->setText(message);
|
||||
m_errorMessageLabel->setToolTip(message);
|
||||
|
||||
m_editButton->setEnabled(!showError);
|
||||
m_unsetButton->setEnabled(!showError);
|
||||
m_resetButton->setEnabled(!showError);
|
||||
m_showAdvancedCheckBox->setEnabled(!showError);
|
||||
m_filterEdit->setEnabled(!showError);
|
||||
}
|
||||
|
||||
void CMakeBuildSettingsWidget::setWarning(const QString &message)
|
||||
|
Reference in New Issue
Block a user