mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-03 11:00:53 +01:00
Improve undo command when remove a terminal strip
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
class TerminalStrip;
|
||||
class QETProject;
|
||||
class Element;
|
||||
|
||||
class AddTerminalStripCommand : public QUndoCommand
|
||||
{
|
||||
@@ -50,6 +51,7 @@ class RemoveTerminalStripCommand : public QUndoCommand
|
||||
private:
|
||||
QPointer<TerminalStrip> m_strip;
|
||||
QPointer<QETProject> m_project;
|
||||
QVector<QPointer<Element>> m_elements;
|
||||
};
|
||||
|
||||
#endif // ADDTERMINALSTRIPCOMMAND_H
|
||||
|
||||
Reference in New Issue
Block a user