[qet] [3464] Master element minor bug fix

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


Revision: 3464
Author:   blacksun
Date:     2014-11-07 20:24:29 +0100 (Fri, 07 Nov 2014)
Log Message:
-----------
Master element minor bug fix

Modified Paths:
--------------
    trunk/sources/qetgraphicsitem/masterelement.cpp

Modified: trunk/sources/qetgraphicsitem/masterelement.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/masterelement.cpp	2014-11-07 18:21:54 UTC (rev 3463)
+++ trunk/sources/qetgraphicsitem/masterelement.cpp	2014-11-07 19:24:29 UTC (rev 3464)
@@ -116,10 +116,9 @@
 	bool	show  = elementInformations().keyMustShow("label");
 
 	// setup the label
-	(label.isEmpty() || !show)?
-				setTaggedText("label", "_", false):
-				setTaggedText("label", label, true);
+	if (!label.isEmpty() && show) setTaggedText("label", label, true);
 
+
 	//Delete or update the xref
 	if (cri_) {
 		aboutDeleteXref();


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