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

This commit is contained in:
Christophe Dumez 2009-08-26 12:26:43 +00:00
parent 11dd2d81b8
commit 87f43123c6

View file

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