diff options
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index 4f30ff6cb..096482c2d 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -49,7 +49,7 @@ Kirigami.Page { target: diveDetailsPage; actions { right: deleteAction - left: diveDetailsListView.currentItem.modelData.dive.gps !== "" ? mapAction : null + left: diveDetailsListView.currentItem ? (diveDetailsListView.currentItem.modelData.dive.gps !== "" ? mapAction : null) : null } } PropertyChanges { target: detailsEditScroll; opened: false } |