From 758502c2dc460e17fecc774b83ea35c3ecc895b9 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Thu, 19 Sep 2013 19:34:26 +0000 Subject: [PATCH] Fix regression git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2549 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/diagramcontent.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); }