mirror of https://gitlab.com/pamhyr/pamhyr2
SL: Fix default name.
parent
5412cb4d2d
commit
630eb98343
|
|
@ -38,7 +38,7 @@ class Layer(SQLSubModel):
|
|||
@property
|
||||
def name(self):
|
||||
if self._name == "":
|
||||
return f"SL{self.id + 1}"
|
||||
return f"Layer{self.id + 1}"
|
||||
|
||||
return self._name
|
||||
|
||||
|
|
@ -207,6 +207,9 @@ class SedimentLayer(SQLSubModel):
|
|||
|
||||
@property
|
||||
def name(self):
|
||||
if self._name == "":
|
||||
return f"SL{self.id + 1}"
|
||||
|
||||
return self._name
|
||||
|
||||
@name.setter
|
||||
|
|
|
|||
Loading…
Reference in New Issue