mirror of https://gitlab.com/pamhyr/pamhyr2
BoundaryConditions: fix index error in deletion for boundary cond.
parent
71914fdf57
commit
5fb36e7fbe
|
|
@ -124,7 +124,7 @@ class DelCommand(QUndoCommand):
|
||||||
self._bcs.insert(self._tab, row, el)
|
self._bcs.insert(self._tab, row, el)
|
||||||
|
|
||||||
def redo(self):
|
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):
|
class SortCommand(QUndoCommand):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue