mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-01 00:49:58 +01:00
Info about Linked element (cross ref item and info about pos of master for the slave element) is updated when a diagram is removed from project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3429 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -40,6 +40,7 @@ CrossRefItem::CrossRefItem(Element *elmt) :
|
||||
|
||||
connect(elmt, SIGNAL(elementInfoChange(DiagramContext)), this, SLOT(updateLabel()));
|
||||
connect(elmt -> diagram() -> project(), SIGNAL(projectDiagramsOrderChanged(QETProject*,int,int)), this, SLOT(updateLabel()));
|
||||
connect(elmt -> diagram() -> project(), SIGNAL(diagramRemoved(QETProject*,Diagram*)), this, SLOT(updateLabel()));
|
||||
connect(elmt -> diagram(), SIGNAL(XRefPropertiesChanged()), this, SLOT(updateProperties()));
|
||||
|
||||
//set specific behavior related to the parent item.
|
||||
|
||||
Reference in New Issue
Block a user