mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
BC, LC: Add default name.
This commit is contained in:
1 parent
afb4c1b61e
commit
7719f5270d
2 files changed
+6
No files matched your search
@@ -200,6 +200,9 @@ class BoundaryCondition(SQLSubModel):
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
if self._name == "":
|
||||
return f"B{self.id + 1}"
|
||||
|
||||
return self._name
|
||||
|
||||
@name.setter
|
||||
|
||||
Reference in new issue
Block a user