Bug fix : When user try to connect two differents potential together, the dialog box display a weird numbers of wire in the potential

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4218 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-09-27 12:26:59 +00:00
parent 697ab4cba5
commit 13b0c42ba3
4 changed files with 55 additions and 10 deletions

View File

@@ -109,7 +109,7 @@ class Element : public QetGraphicsItem {
virtual void unlinkElement (Element *) {}
virtual void initLink (QETProject *);
QList<Element *> linkedElements ();
virtual int linkType() const {return link_type_;} // @return the linkable type
virtual kind linkType() const {return link_type_;} // @return the linkable type
void newUuid() {uuid_ = QUuid::createUuid();} //create new uuid for this element
//ATTRIBUTES related to linked element