From 92fae0e13f9028c097de0bd50f7e632a7f78cf8b Mon Sep 17 00:00:00 2001 From: Dylan Jeannin Date: Mon, 11 May 2026 14:06:07 +0200 Subject: [PATCH] rename variable to keep consistency --- src/View/DIFAdisTS/UndoCommand.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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):