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:
blacksun
2014-11-26 22:05:37 +00:00
parent 0876d2c549
commit afdf20cf9f
2 changed files with 10 additions and 4 deletions

View File

@@ -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;
};
/**