[qet] [2549] Fix regression

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2549
Author:   scorpio810
Date:     2013-09-19 21:34:26 +0200 (Thu, 19 Sep 2013)
Log Message:
-----------
Fix regression

Modified Paths:
--------------
    trunk/sources/diagramcontent.cpp

Modified: trunk/sources/diagramcontent.cpp
===================================================================
--- trunk/sources/diagramcontent.cpp	2013-09-19 17:38:02 UTC (rev 2548)
+++ trunk/sources/diagramcontent.cpp	2013-09-19 19:34:26 UTC (rev 2549)
@@ -117,10 +117,10 @@
 	} 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);
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/