mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
QT6: hooks added
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user