mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
SL: Reach: Profile: Add KP when profile has no name.
This commit is contained in:
1 parent
02ef127942
commit
d636f5b637
1 file changed
+4
-1
@@ -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 + " - "
|
||||||
|
|||||||
Reference in new issue
Block a user