Commit d636f5b6 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

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

Showing with 4 additions and 1 deletion
+4 -1
......@@ -64,7 +64,10 @@ class ProfileSedimentLayersWindow(ASubMainWindow, ListedSubWindow):
pname = self._profile.name
if pname == "":
pname = _translate("SedimentLayers", "(no name)")
pname = _translate(
"SedimentLayers",
"(no name - @kp)").replace("@kp", str(self._profile.kp)
)
self._title = (
title + " - "
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment