diff --git a/src/View/HydraulicStructures/BasicHydraulicStructures/UndoCommand.py b/src/View/HydraulicStructures/BasicHydraulicStructures/UndoCommand.py index 80bd1f3f580fff22f74b9ad71c43b8e2afd7366e..5448d530ec031c2b9fa7fb05bec0e6b4ad435ff8 100644 --- a/src/View/HydraulicStructures/BasicHydraulicStructures/UndoCommand.py +++ b/src/View/HydraulicStructures/BasicHydraulicStructures/UndoCommand.py @@ -112,7 +112,7 @@ class DelCommand(QUndoCommand): self._hs.insert(row, el) def redo(self): - self._hs.delete_i([self._rows]) + self._hs.delete_i(self._rows) class PasteCommand(QUndoCommand):