Wizards: usablitity fix

If the virtual projectKind item has no children it is deleted.

Change-Id: I5f86b18043ed937b3f38c8e1591a529af934043a
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
Thomas Hartmann
2012-04-10 13:23:57 +02:00
parent 88eec5ae47
commit f864df8fd2

View File

@@ -301,6 +301,8 @@ void NewDialog::setWizards(QList<IWizard*> wizards)
addItem(kindItem, wizard);
}
}
if (projectKindItem->columnCount() == 0)
parentItem->removeRow(0);
}
Core::IWizard *NewDialog::showDialog()