mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
BoundaryConditions: fix index error in deletion for boundary cond.
This commit is contained in:
1 parent
b0e0dc75f1
commit
0dbea26a2e
1 file changed
+1
-1
@@ -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):
|
||||||
|
|||||||
Reference in new issue
Block a user