mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-14 20:33:05 +02:00
QT6: hooks added
This commit is contained in:
parent
b339dc2812
commit
0b5091b606
@ -285,6 +285,10 @@ void LinkElementCommand::makeLink(const QList<Element *> &element_list)
|
|||||||
|
|
||||||
//All elements stored in to_unlink is unwanted we unlink it from m_element
|
//All elements stored in to_unlink is unwanted we unlink it from m_element
|
||||||
if (!to_unlink.isEmpty())
|
if (!to_unlink.isEmpty())
|
||||||
|
{
|
||||||
foreach(Element *elmt, to_unlink)
|
foreach(Element *elmt, to_unlink)
|
||||||
|
{
|
||||||
m_element->unlinkElement(elmt);
|
m_element->unlinkElement(elmt);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user