Index: lib/filterListener.js |
=================================================================== |
--- a/lib/filterListener.js |
+++ b/lib/filterListener.js |
@@ -71,17 +71,20 @@ let FilterListener = |
*/ |
setDirty: function(/**Integer*/ factor) |
{ |
if (factor == 0 && isDirty > 0) |
isDirty = 1; |
else |
isDirty += factor; |
if (isDirty >= 1) |
+ { |
+ isDirty = 0; |
FilterStorage.saveToDisk(); |
+ } |
} |
}; |
/** |
* Observer listening to history purge actions. |
* @class |
*/ |
let HistoryPurgeObserver = |