diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-20 13:07:33 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-20 13:28:46 -0700 |
commit | 7a6f87405ab2695022248d01cb9df3f11338177b (patch) | |
tree | d48b434c7e0521e6d87650dada2e9d3208cb4d8b /mobile-widgets/qml | |
parent | 20dae442ad48108416a47d3ff45461d5474cd182 (diff) | |
download | subsurface-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.qml | 4 |
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) |