HS: Fix loading deleted HS.

This commit is contained in:
parouby committed 2025-08-29 10:15:03 +02:00
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(