Commit 40b983a9 authored by kh1's avatar kh1

Fix missing check-boxes on initial startup.

Task-number: QTCREATORBUG-1621
Reviewed-by: ck
parent 5221e8ef
......@@ -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)
......
Markdown is supported
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