Commit 3527195e authored by con's avatar con
Browse files

Fix visual selection for keyboard navigation in New dialog.

Reviewed-by: Erik Verbruggen
parent ce8cb23f
......@@ -99,7 +99,7 @@ void NewDialog::setWizards(QList<IWizard*> wizards)
CategoryItemMap::iterator cit = categories.find(categoryName);
if (cit == categories.end()) {
QTreeWidgetItem *categoryItem = new QTreeWidgetItem(m_ui->templatesTree);
categoryItem->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable);
categoryItem->setText(0, wizard->displayCategory());
qVariantSetValue<IWizard*>(wizardPtr, 0);
categoryItem->setData(0, Qt::UserRole, wizardPtr);
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