diff --git a/sources/diagramcontent.cpp b/sources/diagramcontent.cpp index 70fd1767f..7765ab8bb 100644 --- a/sources/diagramcontent.cpp +++ b/sources/diagramcontent.cpp @@ -117,10 +117,10 @@ int DiagramContent::count(int filter) const { } else { if (filter & Elements) count += elements.count(); if (filter & TextFields) count += textFields.count(); - if (filter & Images) count += images.count(); - if (filter == ConductorsToMove) count += conductorsToMove.count(); - if (filter == ConductorsToUpdate) count += conductorsToUpdate.count(); - if (filter == OtherConductors) count += otherConductors.count(); + if (filter & Images) count += images.count(); + if (filter & ConductorsToMove) count += conductorsToMove.count(); + if (filter & ConductorsToUpdate) count += conductorsToUpdate.count(); + if (filter & OtherConductors) count += otherConductors.count(); } return(count); }