Fix RSS rule updated when deleting

Closes #8094
This commit is contained in:
Vladimir Golovnev (Glassez) 2017-12-23 16:25:09 +03:00
parent 5ea100352e
commit e75f8603b0
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7

View file

@ -755,6 +755,7 @@ void AutomatedRssDownloader::handleRuleChanged(const QString &ruleName)
void AutomatedRssDownloader::handleRuleAboutToBeRemoved(const QString &ruleName)
{
m_currentRuleItem = nullptr;
delete m_itemsByRuleName.take(ruleName);
}