[qet] [2546] Fix regression in diagramcontent introduced by revision 2459 affecting selection_prop : a dialog describing the selection, thanks Pawel for report bug

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


Revision: 2546
Author:   scorpio810
Date:     2013-09-19 18:16:25 +0200 (Thu, 19 Sep 2013)
Log Message:
-----------
Fix regression in diagramcontent introduced by revision 2459 affecting selection_prop: a dialog describing the selection, thanks Pawel for report bug

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

Modified: trunk/sources/diagramcontent.cpp
===================================================================
--- trunk/sources/diagramcontent.cpp	2013-09-17 20:48:15 UTC (rev 2545)
+++ trunk/sources/diagramcontent.cpp	2013-09-19 16:16:25 UTC (rev 2546)
@@ -115,7 +115,7 @@
 		count += conductorsToUpdate.count();
 		count += otherConductors.count();
 	} else {
-		if (filter == Elements)           count += elements.count();
+		if (filter & Elements)           count += elements.count();
 		if (filter == TextFields)         count += textFields.count();
 		if (filter == Images)			  count += images.count();
 		if (filter == ConductorsToMove)   count += conductorsToMove.count();


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