mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Modification permettant de definir qu'un element peut avoir un conducteur entre ses propres bornes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@13 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -55,7 +55,7 @@ ElementPerso::ElementPerso(QString &nom_fichier, QGraphicsItem *qgi, Schema *s,
|
||||
priv_nom = racine.attribute("nom");
|
||||
setSize(w, h);
|
||||
setHotspot(QPoint(hot_x, hot_y));
|
||||
|
||||
setConnexionsInternesAcceptees(racine.attribute("ci") == "true");
|
||||
// la definition est supposee avoir des enfants
|
||||
if (racine.firstChild().isNull()) {
|
||||
if (etat != NULL) *etat = 6;
|
||||
|
||||
Reference in New Issue
Block a user