From 50891c838e865ba0b0d31266d335f136e2103bd5 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Mon, 31 Jul 2017 16:37:15 +0200 Subject: 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 --- mobile-widgets/qml/DiveList.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mobile-widgets/qml/DiveList.qml') 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: { -- cgit v1.2.3-70-g09d2