Browse Source

Fix crash when creating a new RSS download rule

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
fefc7df910
  1. 1
      src/rss/automatedrssdownloader.cpp

1
src/rss/automatedrssdownloader.cpp

@ -275,6 +275,7 @@ void AutomatedRssDownloader::saveEditedRule() @@ -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)

Loading…
Cancel
Save