diff --git a/sources/element.cpp b/sources/element.cpp index 6922729db..17783cc03 100644 --- a/sources/element.cpp +++ b/sources/element.cpp @@ -422,7 +422,9 @@ bool Element::fromXml(QDomElement &e, QHash &table_id_adr, bool if (p -> fromXml(qde)) { priv_id_adr.insert(qde.attribute("id").toInt(), p); terminal_trouvee = true; - break; + // We used to break here, because we did not expect + // several terminals to share the same position. + // Of course, it finally happened. } } if (!terminal_trouvee) ++ terminals_non_trouvees;