diff --git a/src/View/LateralContributionsAdisTS/UndoCommand.py b/src/View/LateralContributionsAdisTS/UndoCommand.py index 08cf408a..8366f927 100644 --- a/src/View/LateralContributionsAdisTS/UndoCommand.py +++ b/src/View/LateralContributionsAdisTS/UndoCommand.py @@ -91,7 +91,7 @@ class AddCommand(QUndoCommand): self._new = None def undo(self): - self._lcs.delete_i(self._index) + self._lcs.delete_i([self._index]) def redo(self): if self._new is None: