Skip to content

Commit d865580

Browse files
authored
Merge pull request doxygen#12171 from albert-github/feature/bug_dw_treewidget
Improvement doxywizard treewidget
2 parents df4b71e + 0b63224 commit d865580

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

addon/doxywizard/expert.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Expert::Expert()
209209
m_treeWidget = new QTreeWidget;
210210
m_treeWidget->setColumnCount(1);
211211
m_treeWidget->setHeaderLabel(tr("Topics"));
212-
m_treeWidget->setRootIsDecorated(false);
212+
m_treeWidget->setRootIsDecorated(true);
213213
m_treeWidget->header()->setSectionResizeMode(QHeaderView::Fixed);
214214

215215
// --- Right: scroll area containing all group sections ---
@@ -1115,7 +1115,6 @@ void Expert::filterChanged(const QString &text)
11151115
{
11161116
QString filter = text.trimmed().toLower();
11171117
bool showAll = filter.length()<=2;
1118-
m_treeWidget->setRootIsDecorated(!showAll);
11191118

11201119
m_rightContainer->setUpdatesEnabled(false);
11211120
m_treeWidget->setUpdatesEnabled(false);

0 commit comments

Comments
 (0)