mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-28 00:50:26 +01:00
Possible fix to #181.
This commit is contained in:
parent
ca458ee5c0
commit
b928fbdc87
@ -520,7 +520,7 @@ void FeedsView::onItemExpandRequested(const QList<RootItem*> &items, bool exp) {
|
||||
QModelIndex source_index = m_sourceModel->indexForItem(item);
|
||||
QModelIndex proxy_index = m_proxyModel->mapFromSource(source_index);
|
||||
|
||||
setExpanded(proxy_index, !exp);
|
||||
//setExpanded(proxy_index, !exp);
|
||||
setExpanded(proxy_index, exp);
|
||||
}
|
||||
}
|
||||
|
@ -261,7 +261,7 @@ class RootItem : public QObject {
|
||||
|
||||
RootItemKind::Kind m_kind;
|
||||
int m_id;
|
||||
int m_customId;
|
||||
int m_customId;
|
||||
QString m_title;
|
||||
QString m_description;
|
||||
QIcon m_icon;
|
||||
|
@ -255,7 +255,9 @@ void ServiceRoot::syncIn() {
|
||||
}
|
||||
}
|
||||
|
||||
items_to_expand.append(this);
|
||||
if (!items_to_expand.contains(this)) {
|
||||
items_to_expand.prepend(this);
|
||||
}
|
||||
|
||||
requestItemExpand(items_to_expand, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user