forked from qt-creator/qt-creator
CMake: Keep project configuration table visible at all times
Keep the project configuration visible at all times. This way users can actually add settings, even when the configuration fails. Task-number: QTCREATORBUG-17628 Change-Id: I0a342e0cba1dd720661a171818e0d91415ef5703 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -269,11 +269,9 @@ void CMakeBuildSettingsWidget::setError(const QString &message)
|
|||||||
m_errorMessageLabel->setText(message);
|
m_errorMessageLabel->setText(message);
|
||||||
m_errorMessageLabel->setToolTip(message);
|
m_errorMessageLabel->setToolTip(message);
|
||||||
|
|
||||||
m_configView->setVisible(!showError);
|
m_editButton->setEnabled(!showError);
|
||||||
m_editButton->setVisible(!showError);
|
m_resetButton->setEnabled(!showError);
|
||||||
m_resetButton->setVisible(!showError);
|
m_showAdvancedCheckBox->setEnabled(!showError);
|
||||||
m_showAdvancedCheckBox->setVisible(!showError);
|
|
||||||
m_reconfigureButton->setVisible(!showError);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMakeBuildSettingsWidget::setWarning(const QString &message)
|
void CMakeBuildSettingsWidget::setWarning(const QString &message)
|
||||||
|
Reference in New Issue
Block a user