[qet] [3364] Conductor: fix minor bug about text visibility

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


Revision: 3364
Author:   blacksun
Date:     2014-10-07 23:58:10 +0200 (Tue, 07 Oct 2014)
Log Message:
-----------
Conductor: fix minor bug about text visibility

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

Modified: trunk/sources/qetgraphicsitem/conductor.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/conductor.cpp	2014-10-07 19:51:26 UTC (rev 3363)
+++ trunk/sources/qetgraphicsitem/conductor.cpp	2014-10-07 21:58:10 UTC (rev 3364)
@@ -1198,10 +1198,9 @@
 		foreach (Conductor *c, relatedPotentialConductors(false)) {
 			c -> textItem() -> setVisible(false);
 		}
+		//Make sure text item is visible
+		text_item -> setVisible(true);
 	}
-
-	//Make sure text item is visible
-	text_item -> setVisible(true);
 	
 	//position
 	if (text_item -> wasMovedByUser()) {


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