aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseniy Movshev <dodoradio@outlook.com>2023-07-07 12:09:29 +0100
committerArseniy Movshev <dodoradio@outlook.com>2023-07-07 12:31:14 +0100
commitff38b7875f918baaf8ece599c42e0874efc3fbc6 (patch)
tree5aab068766dbe473361055ee98a2690f7517d251
parent7953c7529b811f8c06f0fc74f0c5b5f5f000f1ae (diff)
Make title of waypoint page aware of edit mode
-rw-r--r--src/SetPointPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SetPointPage.qml b/src/SetPointPage.qml
index f8e3f26..46b7a89 100644
--- a/src/SetPointPage.qml
+++ b/src/SetPointPage.qml
@@ -23,7 +23,7 @@ import Nemo.Configuration 1.0
Item {
id: root
Asteroid.PageHeader {
- text: "Add waypoint"
+ text: editMode ? "Edit waypoint" : "Add waypoint"
}
ConfigurationValue {
id: waypointList