mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07: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:
parent
d2ffbc44f1
commit
027a08c92e
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue