diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-05 09:52:09 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-05 09:52:09 -0700 |
commit | 3472f2035491b9801058ea76a828e80f01b70f80 (patch) | |
tree | 191847c475a7ac65391efcd673e6f7f066d61993 /mobile-widgets | |
parent | 77e83e88432844d46cea2aef9f044945ebe66334 (diff) | |
download | subsurface-3472f2035491b9801058ea76a828e80f01b70f80.tar.gz |
QML UI: dynamic page title for the root page
Subsurface-mobile is the name of the app, but not a good title for
the Dive list / Cloud credential page
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 95af9a973..66583a175 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -9,7 +9,7 @@ import org.subsurfacedivelog.mobile 1.0 Kirigami.ScrollablePage { id: page objectName: "DiveList" - title: "Subsurface-mobile" + title: "Dive list" background: Rectangle { color: Kirigami.Theme.viewBackgroundColor } @@ -220,8 +220,10 @@ Kirigami.ScrollablePage { onVisibleChanged: { if (visible) { page.mainAction = page.saveAction + title = "Cloud credentials" } else { page.mainAction = page.addDiveAction + title = "Dive list" } } |