mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Scenario: Fix scenario reload.
This commit is contained in:
1 parent
d31be61af8
commit
044818072e
1 file changed
+2
@@ -482,6 +482,8 @@ class Study(SQLModel):
|
||||
river = self.load_scenario(scenario)
|
||||
self._river = river
|
||||
|
||||
self.status.scenario = scenario
|
||||
|
||||
if reduce(
|
||||
lambda a, s: a or (s.parent is scenario),
|
||||
self.scenarios.lst,
|
||||
|
||||
Reference in new issue
Block a user