mirror of https://gitlab.com/pamhyr/pamhyr2
debug undo after add LateralContributionAdisTS
parent
7c3de520d9
commit
726b81bf12
|
|
@ -91,7 +91,7 @@ class AddCommand(QUndoCommand):
|
||||||
self._new = None
|
self._new = None
|
||||||
|
|
||||||
def undo(self):
|
def undo(self):
|
||||||
self._lcs.delete_i(self._index)
|
self._lcs.delete_i([self._index])
|
||||||
|
|
||||||
def redo(self):
|
def redo(self):
|
||||||
if self._new is None:
|
if self._new is None:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue