summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-20 13:07:33 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-20 13:28:46 -0700
commit7a6f87405ab2695022248d01cb9df3f11338177b (patch)
treed48b434c7e0521e6d87650dada2e9d3208cb4d8b /mobile-widgets/qml
parent20dae442ad48108416a47d3ff45461d5474cd182 (diff)
downloadsubsurface-7a6f87405ab2695022248d01cb9df3f11338177b.tar.gz
QML UI: disable the MouseArea
Visible doesn't even make sense... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml
index 5053f866f..ffa7f5c47 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -48,7 +48,7 @@ Item {
}
MouseArea {
anchors.fill: parent
- visible: dive.gps_decimal !== ""
+ enabled: dive.gps_decimal !== ""
onClicked: {
if (dive.gps_decimal !== "")
showMap(dive.gps_decimal)
@@ -78,7 +78,7 @@ Item {
}
MouseArea {
anchors.fill: parent
- visible: dive.gps_decimal !== ""
+ enabled: dive.gps_decimal !== ""
onClicked: {
if (dive.gps_decimal !== "")
showMap(dive.gps_decimal)