mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
fix duplication of same objects in db with when saving a child scenario
This commit is contained in:
1 parent
348417977d
commit
ccf3da114b
5 files changed
+17
-4
No files matched your search
@@ -203,7 +203,7 @@ class SQLSubModel(PamhyrID):
|
||||
if self._status is None:
|
||||
return
|
||||
|
||||
self._owner_scenario = self._status.scenario_id
|
||||
# self._owner_scenario = self._status.scenario_id
|
||||
self._status.modified()
|
||||
|
||||
def set_owner_scenario(self):
|
||||
|
||||
Reference in new issue
Block a user