Commit 06ccc35b authored by Tobias Hunger's avatar Tobias Hunger

CMake: Clear error flag in CmakeBuildConfiguration

Remove/refresh the error message in the CMake build configuration when the enabled
state changes.

Task-number: QTCREATORBUG-17948
Change-Id: I0f210fc572dde40a9adfee7ec2d934926d576d61
Reviewed-by: default avatarhjk <>
parent 4f78b1e4
......@@ -258,6 +258,8 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeBuildConfiguration *bc)
connect(m_buildConfiguration->target(), &ProjectExplorer::Target::kitChanged,
this, &CMakeBuildSettingsWidget::updateFromKit);
connect(m_buildConfiguration, &CMakeBuildConfiguration::enabledChanged,
this, [this]() { setError(m_buildConfiguration->disabledReason()); });
void CMakeBuildSettingsWidget::setError(const QString &message)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment