Commit 859e842e authored by Tobias Hunger's avatar Tobias Hunger
Browse files

NewDialog: Always default to "All templates"

This is more reliable than choosing the first platform (whichever
that happens to be).

Change-Id: Ic2b33de96af295bdaa0955014853e1a5cf7605e3
Reviewed-by: default avatarEike Ziller <>
parent 5000b295
......@@ -278,10 +278,8 @@ void NewDialog::setWizardFactories(QList<IWizardFactory *> factories,
m_ui->comboBox->addItem(tr("%1 Templates").arg(displayNameForPlatform), platform);
if (!availablePlatforms.isEmpty())
m_ui->comboBox->setCurrentIndex(1); //First Platform
m_ui->comboBox->setCurrentIndex(0); // "All templates"
foreach (IWizardFactory *factory, factories) {
QStandardItem *kindItem;
Supports Markdown
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