diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-07-31 16:37:15 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-09-04 07:38:30 -0700 |
commit | 50891c838e865ba0b0d31266d335f136e2103bd5 (patch) | |
tree | 0729e4c0e9f2a732be22d7013d879513a0e5225c | |
parent | 48ff047086f758ed7791305656c10c36b2cce1da (diff) | |
download | subsurface-50891c838e865ba0b0d31266d335f136e2103bd5.tar.gz |
QML UI: set the title of the right object
Intended was here to set the title of the Dive list with id: page,
instead of the startpage object.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 7e2e01112..72302e0bb 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -273,17 +273,17 @@ Kirigami.ScrollablePage { if (visible) { page.actions.main = page.saveAction page.actions.right = page.offlineAction - title = qsTr("Cloud credentials") + page.title = qsTr("Cloud credentials") } else if(manager.credentialStatus === QMLManager.VALID || manager.credentialStatus === QMLManager.VALID_EMAIL || manager.credentialStatus === QMLManager.NOCLOUD) { page.actions.main = page.downloadFromDCAction page.actions.right = page.addDiveAction - title = qsTr("Dive list") + page.title = qsTr("Dive list") if (diveListView.count === 0) showPassiveNotification(qsTr("Please tap the '+' button to add a dive (or download dives from a supported dive computer)"), 3000) } else { page.actions.main = null page.actions.right = null - title = qsTr("Dive list") + page.title = qsTr("Dive list") } } onVisibleChanged: { |