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:
Aaron Barany
2019-05-16 21:36:46 -07:00
parent fd24586421
commit 0131439288

View File

@@ -349,12 +349,6 @@ void CMakeBuildSettingsWidget::setError(const QString &message)
m_errorMessageLabel->setVisible(showError); m_errorMessageLabel->setVisible(showError);
m_errorMessageLabel->setText(message); m_errorMessageLabel->setText(message);
m_errorMessageLabel->setToolTip(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) void CMakeBuildSettingsWidget::setWarning(const QString &message)