diff --git a/src/View/DIFAdisTS/UndoCommand.py b/src/View/DIFAdisTS/UndoCommand.py index 6f543485..0939beeb 100644 --- a/src/View/DIFAdisTS/UndoCommand.py +++ b/src/View/DIFAdisTS/UndoCommand.py @@ -162,13 +162,13 @@ class DelCommand(QUndoCommand): self._dif_spec = dif_spec self._rows = rows - self._ic = [] + self._dif = [] for row in rows: - self._ic.append((row, self._dif_spec[row])) - self._ic.sort() + self._dif.append((row, self._dif_spec[row])) + self._dif.sort() def undo(self): - for row, el in self._ic: + for row, el in self._dif: self._data.insert(row, el) def redo(self):