From 5e5d8118c7e9752cd2c85d9b5576124e6471c020 Mon Sep 17 00:00:00 2001 From: Nick Tiskov Date: Mon, 11 Feb 2013 13:58:00 +0400 Subject: [PATCH] Changing regexp/wildcard mode should update article list matches --- src/rss/automatedrssdownloader.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/rss/automatedrssdownloader.cpp b/src/rss/automatedrssdownloader.cpp index a693eb183..94bb30107 100644 --- a/src/rss/automatedrssdownloader.cpp +++ b/src/rss/automatedrssdownloader.cpp @@ -86,6 +86,12 @@ AutomatedRssDownloader::AutomatedRssDownloader(const QWeakPointer& m Q_ASSERT(ok); ok = connect(ui->lineNotContains, SIGNAL(textEdited(QString)), SLOT(updateMustNotLineValidity())); Q_ASSERT(ok); + ok = connect(ui->checkRegex, SIGNAL(stateChanged(int)), SLOT(updateMatchingArticles())); + Q_ASSERT(ok); + ok = connect(ui->checkRegex, SIGNAL(stateChanged(int)), SLOT(updateMustLineValidity())); + Q_ASSERT(ok); + ok = connect(ui->checkRegex, SIGNAL(stateChanged(int)), SLOT(updateMustNotLineValidity())); + Q_ASSERT(ok); updateRuleDefinitionBox(); updateFeedList(); }