Browse Source

Update matching RSS articles while editing rules

Save the rules as soon as they are edited so that the matching
articles tree is immediately updated.

Closes #2829.
adaptive-webui-19844
Gabriele 10 years ago
parent
commit
027a08c92e
  1. 1
      src/gui/rss/automatedrssdownloader.cpp

1
src/gui/rss/automatedrssdownloader.cpp

@ -523,6 +523,7 @@ void AutomatedRssDownloader::updateMatchingArticles() @@ -523,6 +523,7 @@ void AutomatedRssDownloader::updateMatchingArticles()
return;
const QHash<QString, RssFeedPtr> all_feeds = manager->getAllFeedsAsHash();
saveEditedRule();
foreach (const QListWidgetItem *rule_item, ui->listRules->selectedItems()) {
RssDownloadRulePtr rule = m_editableRuleList->getRule(rule_item->text());
if (!rule) continue;

Loading…
Cancel
Save