Index: /trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java	(revision 12387)
+++ /trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java	(revision 12388)
@@ -40,6 +40,5 @@
      * @param all the collection of primitives for that the filter state should be updated
      * @param filterMatcher the FilterMatcher
-     * @return true, if the filter state (normal / disabled / hidden)
-     * of any primitive has changed in the process
+     * @return true, if the filter state (normal / disabled / hidden) of any primitive has changed in the process
      */
     public static boolean executeFilters(Collection<OsmPrimitive> all, FilterMatcher filterMatcher) {
@@ -89,9 +88,13 @@
      * Clear all filter flags, i.e.&nbsp;turn off filters.
      * @param prims the primitives
+     * @return true, if the filter state (normal / disabled / hidden) of any primitive has changed in the process
+     * @since 12388 (signature)
      */
-    public static void clearFilterFlags(Collection<OsmPrimitive> prims) {
+    public static boolean clearFilterFlags(Collection<OsmPrimitive> prims) {
+        boolean changed = false;
         for (OsmPrimitive osm : prims) {
-            osm.unsetDisabledState();
+            changed |= osm.unsetDisabledState();
         }
+        return changed;
     }
 }
