mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
BC: Fix BC undo command.
This commit is contained in:
1 parent
1e6a578890
commit
de7f3e63b1
3 files changed
+16
-11
No files matched your search
@@ -582,10 +582,10 @@ class BoundaryCondition(SQLSubModel):
|
||||
self._data.index(bc)
|
||||
|
||||
def get_i(self, index):
|
||||
if len(self.data) == 0:
|
||||
if len(self._data) == 0:
|
||||
return None
|
||||
|
||||
return self.data[index]
|
||||
return self._data[index]
|
||||
|
||||
def get_range(self, _range):
|
||||
lst = []
|
||||
|
||||
Reference in new issue
Block a user