mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Add a signal to update slave label if XREF properties has changed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4495 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -63,6 +63,7 @@ void SlaveElement::linkToElement(Element *elmt)
|
||||
connect(elmt, SIGNAL(elementInfoChange(DiagramContext, DiagramContext)),this, SLOT(updateLabel()));
|
||||
connect(diagram()->project(), SIGNAL(projectDiagramsOrderChanged(QETProject*,int,int)), this, SLOT(updateLabel()));
|
||||
connect(diagram()->project(), SIGNAL(diagramRemoved(QETProject*,Diagram*)), this, SLOT(updateLabel()));
|
||||
connect(elmt -> diagram(), SIGNAL(XRefPropertiesChanged()), this, SLOT(updateLabel()));
|
||||
|
||||
updateLabel();
|
||||
elmt -> linkToElement(this);
|
||||
|
||||
Reference in New Issue
Block a user