- Fixed possible crash when moving a feed from one folder to another

This commit is contained in:
Christophe Dumez 2009-08-23 15:18:29 +00:00
parent fd81567ecd
commit d02aca7323

View file

@ -135,7 +135,7 @@ signals:
protected slots:
void updateCurrentFeed(QTreeWidgetItem* new_item) {
if(getItemType(new_item) == RssFile::STREAM)
if(new_item && getItemType(new_item) == RssFile::STREAM)
current_feed = new_item;
}