Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
3527195e
Commit
3527195e
authored
Mar 04, 2010
by
con
Browse files
Fix visual selection for keyboard navigation in New dialog.
Reviewed-by: Erik Verbruggen
parent
ce8cb23f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/dialogs/newdialog.cpp
View file @
3527195e
...
...
@@ -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
);
categoryItem
->
setFlags
(
Qt
::
ItemIsEnabled
|
Qt
::
ItemIsSelectable
);
categoryItem
->
setText
(
0
,
wizard
->
displayCategory
());
qVariantSetValue
<
IWizard
*>
(
wizardPtr
,
0
);
categoryItem
->
setData
(
0
,
Qt
::
UserRole
,
wizardPtr
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment