|
|
@ -275,6 +275,7 @@ void AutomatedRssDownloader::saveEditedRule() |
|
|
|
} |
|
|
|
} |
|
|
|
RssDownloadRulePtr rule = m_ruleList->getRule(m_editedRule->text()); |
|
|
|
RssDownloadRulePtr rule = m_ruleList->getRule(m_editedRule->text()); |
|
|
|
if (!rule) { |
|
|
|
if (!rule) { |
|
|
|
|
|
|
|
rule = RssDownloadRulePtr(new RssDownloadRule); |
|
|
|
rule->setName(m_editedRule->text()); |
|
|
|
rule->setName(m_editedRule->text()); |
|
|
|
} |
|
|
|
} |
|
|
|
if (m_editedRule->checkState() == Qt::Unchecked) |
|
|
|
if (m_editedRule->checkState() == Qt::Unchecked) |
|
|
|