mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Delete an element linked to others unlink it.
Undo this action relink other element elements git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3520 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -101,6 +101,8 @@ class DeleteElementsCommand : public QUndoCommand {
|
||||
DiagramContent removed_content;
|
||||
/// diagram which the content is removed from
|
||||
Diagram *diagram;
|
||||
/// keep linked element for each removed element linked to other element.
|
||||
QHash <Element *, QList<Element *> > m_link_hash;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user