BoundaryConditions: fix index error in deletion for boundary cond.

master
Dylan Jeannin 2026-09-11 16:50:47 +02:00
parent 71914fdf57
commit 5fb36e7fbe
1 changed files with 1 additions and 1 deletions

View File

@ -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):