mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
HS: Fix loading deleted HS.
This commit is contained in:
1 parent
ec2a1da6b6
commit
7bb0c9d57e
1 file changed
+1
-1
@@ -240,7 +240,7 @@ class HydraulicStructure(SQLSubModel):
|
||||
owner_scenario=owner_scenario
|
||||
)
|
||||
if deleted:
|
||||
new.set_as_deleted()
|
||||
hs.set_as_deleted()
|
||||
|
||||
hs.enabled = enabled
|
||||
hs.input_reach, hs.output_reach = reduce(
|
||||
|
||||
Reference in new issue
Block a user