[qet] qet/qet: [4762] Bug fix : conductor don't apply text to text item

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


Revision: 4762
Author:   blacksun
Date:     2016-10-26 18:26:05 +0200 (Wed, 26 Oct 2016)
Log Message:
-----------
Bug fix : conductor don't apply text to text item

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

Modified: trunk/sources/qetgraphicsitem/conductor.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/conductor.cpp	2016-10-24 19:37:40 UTC (rev 4761)
+++ trunk/sources/qetgraphicsitem/conductor.cpp	2016-10-26 16:26:05 UTC (rev 4762)
@@ -1919,8 +1919,9 @@
 		this->properties_.text = freezelabel;
 	}
 	else {
+		if (m_frozen_label.isEmpty())
+			return;
 		this->setText(m_frozen_label);
-		if (m_frozen_label == "") return;
 		properties_.text = m_frozen_label;
 	}
 }


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