mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
48ff047086
commit
50891c838e
1 changed files with 3 additions and 3 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue