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.
This commit is contained in:
Gabriele 2015-04-04 19:12:34 +02:00
parent d2ffbc44f1
commit 027a08c92e

View file

@ -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;