mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +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
|
||||
if (!to_unlink.isEmpty())
|
||||
{
|
||||
foreach(Element *elmt, to_unlink)
|
||||
{
|
||||
m_element->unlinkElement(elmt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user