mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Study: Add current scenario into study info.
This commit is contained in:
1 parent
71b631fbe4
commit
8b9bb68ac5
5 files changed
+123
-27
No files matched your search
@@ -59,6 +59,12 @@ class PamhyrModelDict(SQLSubModel):
|
||||
def __contains__(self, key):
|
||||
return key in self._dict
|
||||
|
||||
def __getitem__(self, key):
|
||||
return self.get(key)
|
||||
|
||||
def __setitem__(self, key, value):
|
||||
self.set(key, value)
|
||||
|
||||
def set(self, key, new):
|
||||
self._dict[key] = new
|
||||
self._status.modified()
|
||||
|
||||
Reference in new issue
Block a user