Commit 86567e68 authored by Robert Loehning's avatar Robert Loehning
Browse files

Showing display names of usable build configs if run config doesn't

match.

Reviewed-by: con
parent 714a027a
......@@ -2166,7 +2166,7 @@ BuildConfigDialog::BuildConfigDialog(Project *project, QWidget *parent)
QSharedPointer<RunConfiguration> activeRun = m_project->activeRunConfiguration();
foreach (BuildConfiguration *config, m_project->buildConfigurations()) {
if (activeRun->isEnabled(config)) {
m_configCombo->addItem(config->name(), qVariantFromValue(config));
m_configCombo->addItem(config->displayName(), qVariantFromValue(config));
}
}
if (m_configCombo->count() == 0) {
......
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