diff options
Diffstat (limited to 'src/gui/undocommands.h')
-rw-r--r-- | src/gui/undocommands.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/undocommands.h b/src/gui/undocommands.h index a0abb26..3f74afb 100644 --- a/src/gui/undocommands.h +++ b/src/gui/undocommands.h @@ -13,6 +13,7 @@ #include "tikzscene.h" #include <QUndoCommand> +#include <QSet> class GraphUpdateCommand : public QUndoCommand { public: @@ -127,7 +128,8 @@ public: void redo() override; private: Graph *_graph; - QList<QGraphicsItem*> _oldSelection; + QSet<Node*> _oldSelectedNodes; + QSet<Edge*> _oldSelectedEdges; }; class ChangeLabelCommand : public GraphUpdateCommand |