mirror of https://gitlab.com/pamhyr/pamhyr2
BoundaryConditions: fix index error in deletion for boundary cond.
parent
b0e0dc75f1
commit
0dbea26a2e
|
|
@ -124,7 +124,7 @@ class DelCommand(QUndoCommand):
|
|||
self._bcs.insert(self._tab, row, el)
|
||||
|
||||
def redo(self):
|
||||
self._bcs.delete_i(self._tab, self._rows)
|
||||
self._bcs.delete(self._tab, [el for _, el in self._bc])
|
||||
|
||||
|
||||
class SortCommand(QUndoCommand):
|
||||
|
|
|
|||
Loading…
Reference in New Issue