mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
BHS: Fix undo commands.
This commit is contained in:
1 parent
becc1696cb
commit
4cddd43f5a
4 files changed
+49
-8
No files matched your search
@@ -425,6 +425,9 @@ class HydraulicStructure(SQLSubModel):
|
||||
return self.lst.copy()
|
||||
|
||||
def basic_structure(self, index: int):
|
||||
if len(self._data) == 0:
|
||||
return None
|
||||
|
||||
return self.lst[index]
|
||||
|
||||
def add(self, index: int):
|
||||
|
||||
Reference in new issue
Block a user