mirror of https://gitlab.com/pamhyr/pamhyr2
SL: Reach: Profile: Add KP when profile has no name.
parent
02ef127942
commit
d636f5b637
|
|
@ -64,7 +64,10 @@ class ProfileSedimentLayersWindow(ASubMainWindow, ListedSubWindow):
|
||||||
|
|
||||||
pname = self._profile.name
|
pname = self._profile.name
|
||||||
if pname == "":
|
if pname == "":
|
||||||
pname = _translate("SedimentLayers", "(no name)")
|
pname = _translate(
|
||||||
|
"SedimentLayers",
|
||||||
|
"(no name - @kp)").replace("@kp", str(self._profile.kp)
|
||||||
|
)
|
||||||
|
|
||||||
self._title = (
|
self._title = (
|
||||||
title + " - "
|
title + " - "
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue