summaryrefslogtreecommitdiff
path: root/metawatch
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-10 19:15:18 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-10 19:15:18 +0200
commit15ac98299094f5502044fde7820bf4b05a898a83 (patch)
tree959497f9c1b6745da64c044720874318618b9033 /metawatch
parent4ad9e1874af29864ca8531e5ba033b85d6616639 (diff)
downloadsowatch-15ac98299094f5502044fde7820bf4b05a898a83.tar.gz
sowatch-15ac98299094f5502044fde7820bf4b05a898a83.zip
autostart daemon on boot
Diffstat (limited to 'metawatch')
-rw-r--r--metawatch/qml/com/javispedro/sowatch/metawatch/MWListView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/metawatch/qml/com/javispedro/sowatch/metawatch/MWListView.qml b/metawatch/qml/com/javispedro/sowatch/metawatch/MWListView.qml
index ed5cf9c..b6764b7 100644
--- a/metawatch/qml/com/javispedro/sowatch/metawatch/MWListView.qml
+++ b/metawatch/qml/com/javispedro/sowatch/metawatch/MWListView.qml
@@ -17,7 +17,7 @@ ListView {
return; // No items
}
if (selectable) {
- if (currentIndex == -1) {
+ if (currentIndex === -1) {
// If no item is selected, select the first one.
currentItem = 0;
return;
@@ -38,7 +38,7 @@ ListView {
return; // No items
}
if (selectable) {
- if (currentIndex == -1) {
+ if (currentIndex === -1) {
// If no item is selected, select the last one.
currentIndex = count - 1;
return;