[qet] [3598] Disable show me: when attach link to previous link and set equipotential liaison

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


Revision: 3598
Author:   scorpio810
Date:     2015-01-11 15:39:46 +0100 (Sun, 11 Jan 2015)
Log Message:
-----------
Disable show me: when attach link to previous link and set equipotential liaison

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

Modified: trunk/sources/diagramcommands.cpp
===================================================================
--- trunk/sources/diagramcommands.cpp	2015-01-11 11:31:53 UTC (rev 3597)
+++ trunk/sources/diagramcommands.cpp	2015-01-11 14:39:46 UTC (rev 3598)
@@ -1015,7 +1015,7 @@
 	doivent avoir ete definis a l'aide de setNewSettings et setOldSettings
 */
 void ChangeSeveralConductorsPropertiesCommand::undo() {
-	if (conductors.first() -> diagram()) conductors.first() -> diagram() -> showMe();
+	if (conductors.first() -> diagram()) conductors.first() -> diagram();
 	if (old_settings_set && new_settings_set) {
 		int i=0;
 		foreach(Conductor *c, conductors) {
@@ -1031,7 +1031,7 @@
 	doivent avoir ete definis a l'aide de setNewSettings et setOldSettings
 */
 void ChangeSeveralConductorsPropertiesCommand::redo() {
-	if (conductors.first() -> diagram()) conductors.first() -> diagram() -> showMe();
+	if (conductors.first() -> diagram()) conductors.first() -> diagram();
 	if (old_settings_set && new_settings_set) {
 
 		//new propertie are the same for each conductor


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