mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
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:
@@ -523,6 +523,7 @@ void AutomatedRssDownloader::updateMatchingArticles()
|
|||||||
return;
|
return;
|
||||||
const QHash<QString, RssFeedPtr> all_feeds = manager->getAllFeedsAsHash();
|
const QHash<QString, RssFeedPtr> all_feeds = manager->getAllFeedsAsHash();
|
||||||
|
|
||||||
|
saveEditedRule();
|
||||||
foreach (const QListWidgetItem *rule_item, ui->listRules->selectedItems()) {
|
foreach (const QListWidgetItem *rule_item, ui->listRules->selectedItems()) {
|
||||||
RssDownloadRulePtr rule = m_editableRuleList->getRule(rule_item->text());
|
RssDownloadRulePtr rule = m_editableRuleList->getRule(rule_item->text());
|
||||||
if (!rule) continue;
|
if (!rule) continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user