summaryrefslogtreecommitdiff
path: root/src/adblock/adblockwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/adblock/adblockwidget.cpp')
-rw-r--r--src/adblock/adblockwidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/adblock/adblockwidget.cpp b/src/adblock/adblockwidget.cpp
index 29281786..a5153f98 100644
--- a/src/adblock/adblockwidget.cpp
+++ b/src/adblock/adblockwidget.cpp
@@ -159,6 +159,9 @@ void AdBlockWidget::loadRules(QTreeWidgetItem *item)
void AdBlockWidget::save()
{
+ if (!_changed)
+ return;
+
// local rules
KSharedConfig::Ptr config = KSharedConfig::openConfig("adblock", KConfig::SimpleConfig, "appdata");
KConfigGroup localGroup(config , "rules");