diff options
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index bdfda2dc7..2e771f086 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -38,6 +38,8 @@ Kirigami.Page { property alias gasmix: detailsEdit.gasmixText property alias gpsCheckbox: detailsEdit.gpsCheckbox property int updateCurrentIdx: manager.updateSelectedDive + property alias rating: detailsEdit.rating + property alias visibility: detailsEdit.visibility title: currentItem && currentItem.modelData ? currentItem.modelData.dive.location : qsTr("Dive details") state: "view" @@ -174,6 +176,8 @@ Kirigami.Page { endpressure = currentItem.modelData.dive.endPressure gasmix = currentItem.modelData.dive.firstGas cylinderIndex = currentItem.modelData.dive.cylinderList.indexOf(currentItem.modelData.dive.getCylinder) + rating = currentItem.modelData.dive.rating + visibility = currentItem.modelData.dive.visibility diveDetailsPage.state = "edit" } |