Fix regression for text and image

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2547 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2013-09-19 16:33:02 +00:00
parent 58b2cc37ec
commit 1cdc0913cb

View File

@@ -116,8 +116,8 @@ int DiagramContent::count(int filter) const {
count += otherConductors.count();
} else {
if (filter & Elements) count += elements.count();
if (filter == TextFields) count += textFields.count();
if (filter == Images) count += images.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();