diff --git a/sources/element.cpp b/sources/element.cpp index 9a5eba22e..84f570fa6 100644 --- a/sources/element.cpp +++ b/sources/element.cpp @@ -164,8 +164,9 @@ bool Element::setOrientation(QET::Orientation o) { ori.setCurrent(o); update(); foreach(QGraphicsItem *qgi, childItems()) { - if (Terminal *p = qgraphicsitem_cast(qgi)) p -> updateConductor(); - else if (ElementTextItem *eti = qgraphicsitem_cast(qgi)) { + if (Terminal *p = qgraphicsitem_cast(qgi)) { + p -> updateConductor(); + } /* else if (ElementTextItem *eti = qgraphicsitem_cast(qgi)) { // applique une rotation contraire si besoin if (!eti -> followParentRotations()) { QMatrix new_matrix = eti -> matrix(); @@ -177,6 +178,7 @@ bool Element::setOrientation(QET::Orientation o) { eti -> setMatrix(new_matrix); } } + */ } return(true); }