OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5221e8e
)
Fix missing check-boxes on initial startup.
author
kh1
<qt-info@nokia.com>
Fri, 11 Jun 2010 10:49:19 +0000
(12:49 +0200)
committer
kh1
<qt-info@nokia.com>
Fri, 11 Jun 2010 10:49:19 +0000
(12:49 +0200)
Task-number: QTCREATORBUG-1621
Reviewed-by: ck
src/plugins/help/filtersettingspage.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/help/filtersettingspage.cpp
b/src/plugins/help/filtersettingspage.cpp
index
8577b42
..
ed27e45
100644
(file)
--- a/
src/plugins/help/filtersettingspage.cpp
+++ b/
src/plugins/help/filtersettingspage.cpp
@@
-114,8
+114,10
@@
void FilterSettingsPage::updateFilterPage()
foreach (const QString &attribute, attributes)
new QTreeWidgetItem(m_ui.attributeWidget, QStringList(attribute));
- if (m_filterMap.keys().
count())
+ if (m_filterMap.keys().
isEmpty()) {
m_ui.filterWidget->setCurrentRow(0);
+ updateAttributes(m_ui.filterWidget->currentItem());
+ }
}
void FilterSettingsPage::updateAttributes(QListWidgetItem *item)