SL: Reach: Profile: Add KP when profile has no name.

mesh
Pierre-Antoine Rouby 2023-07-28 11:48:00 +02:00
parent 02ef127942
commit d636f5b637
1 changed files with 4 additions and 1 deletions

View File

@ -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 + " - "