mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
rename variable to keep consistency
This commit is contained in:
1 parent
a8b260ad38
commit
92fae0e13f
1 file changed
+4
-4
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user