Fix regression

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2549 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2013-09-19 19:34:26 +00:00
parent a19b917217
commit 758502c2dc

View File

@@ -117,10 +117,10 @@ int DiagramContent::count(int filter) const {
} else { } else {
if (filter & Elements) count += elements.count(); if (filter & Elements) count += elements.count();
if (filter & TextFields) count += textFields.count(); if (filter & TextFields) count += textFields.count();
if (filter & Images) count += images.count(); if (filter & Images) count += images.count();
if (filter == ConductorsToMove) count += conductorsToMove.count(); if (filter & ConductorsToMove) count += conductorsToMove.count();
if (filter == ConductorsToUpdate) count += conductorsToUpdate.count(); if (filter & ConductorsToUpdate) count += conductorsToUpdate.count();
if (filter == OtherConductors) count += otherConductors.count(); if (filter & OtherConductors) count += otherConductors.count();
} }
return(count); return(count);
} }