From 7a6f87405ab2695022248d01cb9df3f11338177b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 20 Jun 2017 13:07:33 -0700 Subject: QML UI: disable the MouseArea Visible doesn't even make sense... Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveDetailsView.qml | 4 ++-- 1 file 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) -- cgit v1.2.3-70-g09d2