mirror of https://gitlab.com/pamhyr/pamhyr2
HS: Basic: Fix delete undo command.
parent
1b601460e6
commit
c667d94e84
|
|
@ -112,7 +112,7 @@ class DelCommand(QUndoCommand):
|
||||||
self._hs.insert(row, el)
|
self._hs.insert(row, el)
|
||||||
|
|
||||||
def redo(self):
|
def redo(self):
|
||||||
self._hs.delete_i([self._rows])
|
self._hs.delete_i(self._rows)
|
||||||
|
|
||||||
|
|
||||||
class PasteCommand(QUndoCommand):
|
class PasteCommand(QUndoCommand):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue