mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Fix crash when creating a new RSS download rule
This commit is contained in:
parent
90b520651b
commit
fefc7df910
@ -275,6 +275,7 @@ void AutomatedRssDownloader::saveEditedRule()
|
||||
}
|
||||
RssDownloadRulePtr rule = m_ruleList->getRule(m_editedRule->text());
|
||||
if (!rule) {
|
||||
rule = RssDownloadRulePtr(new RssDownloadRule);
|
||||
rule->setName(m_editedRule->text());
|
||||
}
|
||||
if (m_editedRule->checkState() == Qt::Unchecked)
|
||||
|
Loading…
x
Reference in New Issue
Block a user