summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-01-18 14:01:41 +0100
committercon <qtc-committer@nokia.com>2011-01-19 11:19:39 +0100
commitee83c99c9b3e9907272cd4b9aff3beb559f34806 (patch)
treeb02c2341b125d1741d9de80e783927b44e9f1d3a
parentcef5754641d66825fb4094b5f480ce17184e8649 (diff)
downloadqt-creator-ee83c99c9b3e9907272cd4b9aff3beb559f34806.tar.gz
Custom wizards: Fix multiple combo boxes.
Items of subsequent combo boxes were not displayed since the counter was not reset. Reviewed-by: con Task-number: QTCREATORBUG-3523
-rw-r--r--src/plugins/projectexplorer/customwizard/customwizardparameters.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp b/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp
index 5ad244536e..30ca8c31fd 100644
--- a/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp
+++ b/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp
@@ -665,6 +665,7 @@ CustomWizardParameters::ParseResult
case ParseWithinFields: // Leaving a field element
fields.push_back(field);
field.clear();
+ comboEntryCount = 0;
break;
case ParseWithinComboEntries:
comboEntryCount++;