Browse Source

- Update news list when a feed is updated and Unread items are displayed

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
87f43123c6
  1. 2
      src/rss_imp.cpp

2
src/rss_imp.cpp

@ -510,7 +510,7 @@ void RSSImp::updateFeedInfos(QString url, QString aliasOrUrl, unsigned int nbUnr @@ -510,7 +510,7 @@ void RSSImp::updateFeedInfos(QString url, QString aliasOrUrl, unsigned int nbUnr
// Update Unread item
updateItemInfos(listStreams->getUnreadItem());
// If the feed is selected, update the displayed news
if(listStreams->currentItem() == item){
if(listStreams->currentItem() == item || listStreams->currentItem() == listStreams->getUnreadItem()){
refreshNewsList(item);
}
}

Loading…
Cancel
Save