diff --git a/src/rss/automatedrssdownloader.cpp b/src/rss/automatedrssdownloader.cpp index a7bfaefd0..186ed1df2 100644 --- a/src/rss/automatedrssdownloader.cpp +++ b/src/rss/automatedrssdownloader.cpp @@ -275,6 +275,7 @@ void AutomatedRssDownloader::saveEditedRule() } RssDownloadRulePtr rule = m_ruleList->getRule(m_editedRule->text()); if (!rule) { + rule = RssDownloadRulePtr(new RssDownloadRule); rule->setName(m_editedRule->text()); } if (m_editedRule->checkState() == Qt::Unchecked)