aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/DiveList.qml')
-rw-r--r--qt-mobile/qml/DiveList.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml
index 1429d6776..13cc10411 100644
--- a/qt-mobile/qml/DiveList.qml
+++ b/qt-mobile/qml/DiveList.qml
@@ -15,7 +15,7 @@ MobileComponents.Page {
id: diveDelegate
MobileComponents.ListItem {
enabled: true
- checked: diveListView.currentIndex == model.index
+ checked: diveListView.currentIndex === model.index
width: parent.width
property real detailsOpacity : 0
@@ -145,7 +145,7 @@ MobileComponents.Page {
Connections {
target: stackView
onDepthChanged: {
- if (stackView.depth == 1) {
+ if (stackView.depth === 1) {
diveListView.currentIndex = -1;
}
}