Download patch

Init branch

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3492 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
runsys
2014-11-16 20:27:11 +00:00
parent e2f6e232ee
commit 02df8a5073
19 changed files with 1744 additions and 11 deletions

View File

@@ -405,7 +405,8 @@ void Terminal::mouseReleaseEvent(QGraphicsSceneMouseEvent *e) {
// on s'arrete la s'il n'est pas possible de relier les bornes
if (!canBeLinkedTo(other_terminal)) return;
// autrement, on pose un conducteur
Conductor *new_conductor = new Conductor(this, other_terminal);
//Conductor *new_conductor = new Conductor(this, other_terminal);
Conductor *new_conductor = new Conductor(this, other_terminal, d);
new_conductor -> setProperties(d -> defaultConductorProperties);
d -> undoStack().push(new AddItemCommand<Conductor *>(new_conductor, d));
new_conductor -> autoText();