Browse Source

- Fix a crash introduced by last commit

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

2
src/rss_imp.cpp

@ -434,7 +434,7 @@ void RSSImp::refreshNewsList(QTreeWidgetItem* item) {
// display a news // display a news
void RSSImp::refreshTextBrowser(QTreeWidgetItem *item) { void RSSImp::refreshTextBrowser(QTreeWidgetItem *item) {
if(!item) return; if(!item || item == previous_news) return;
// Stop displaying previous news if necessary // Stop displaying previous news if necessary
if(listStreams->currentFeed() == listStreams->getUnreadItem()) { if(listStreams->currentFeed() == listStreams->getUnreadItem()) {
if(previous_news) { if(previous_news) {

Loading…
Cancel
Save