forked from qt-creator/qt-creator
Run Environment: Update summary when switching the base environment
Do not ignore changes to the base environment. Remove the code asking for the change to be ignored in the first place while at it. Change-Id: I0a3558daef86e6c052267a21943f27db71c52ca3 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -120,8 +120,10 @@ QWidget *EnvironmentAspectWidget::additionalWidget() const
|
||||
void EnvironmentAspectWidget::baseEnvironmentSelected(int idx)
|
||||
{
|
||||
m_ignoreChange = true;
|
||||
m_aspect->setBaseEnvironmentBase(m_baseEnvironmentComboBox->itemData(idx).toInt());
|
||||
int base = m_baseEnvironmentComboBox->itemData(idx).toInt();
|
||||
m_aspect->setBaseEnvironmentBase(base);
|
||||
m_environmentWidget->setBaseEnvironment(m_aspect->baseEnvironment());
|
||||
m_environmentWidget->setBaseEnvironmentText(m_aspect->baseEnvironmentDisplayName(base));
|
||||
m_ignoreChange = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user