forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.0'
Conflicts: src/plugins/projectexplorer/session.cpp src/plugins/qmlprofiler/qmlprofilerclientmanager.cpp Change-Id: I6946139f5e5fa3a9cdbb322fd50be248e2c0133f
This commit is contained in:
@@ -157,10 +157,12 @@ void ClangDiagnosticConfigsWidget::syncConfigChooserToModel(const Core::Id &conf
|
||||
|
||||
connectConfigChooserCurrentIndex();
|
||||
|
||||
if (configToSelectIndex != -1)
|
||||
if (configToSelectIndex != -1) {
|
||||
m_ui->configChooserComboBox->setCurrentIndex(configToSelectIndex);
|
||||
else if (previousCurrentIndex != m_ui->configChooserComboBox->currentIndex())
|
||||
} else if (previousCurrentIndex != m_ui->configChooserComboBox->currentIndex()) {
|
||||
syncOtherWidgetsToComboBox();
|
||||
emit currentConfigChanged(currentConfigId());
|
||||
}
|
||||
}
|
||||
|
||||
void ClangDiagnosticConfigsWidget::syncOtherWidgetsToComboBox()
|
||||
|
||||
Reference in New Issue
Block a user