mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 22:00:35 +01:00
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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user