diff --git a/element.cpp b/element.cpp index fa3b028e7..c27830df9 100644 --- a/element.cpp +++ b/element.cpp @@ -405,7 +405,6 @@ bool Element::fromXml(QDomElement &e, QHash &table_id_adr) { int read_ori = e.attribute("orientation").toInt(&conv_ok); if (!conv_ok || read_ori < 0 || read_ori > 3) read_ori = ori.defaultOrientation(); setOrientation((QET::Orientation)read_ori); - setSelected(e.attribute("selected") == "selected"); return(true); } @@ -429,7 +428,6 @@ QDomElement Element::toXml(QDomDocument &document, QHash &table // position, selection et orientation element.setAttribute("x", pos().x()); element.setAttribute("y", pos().y()); - if (isSelected()) element.setAttribute("selected", "selected"); element.setAttribute("orientation", QString("%1").arg(ori.current())); /* recupere le premier id a utiliser pour les bornes de cet element */