Fix : undo code is executed in redo function and vice versa

Need to sleep ?
This commit is contained in:
joshua
2021-04-05 19:59:06 +02:00
parent 573c0c236a
commit 2cf5ea11fd
3 changed files with 8 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ class QETProject;
class AddTerminalStripCommand : public QUndoCommand
{
public:
AddTerminalStripCommand(TerminalStrip *strip, QETProject *project, QUndoCommand *parent);
AddTerminalStripCommand(TerminalStrip *strip, QETProject *project, QUndoCommand *parent = nullptr);
~AddTerminalStripCommand() override;
void undo() override;