QML UI: disable the MouseArea

Visible doesn't even make sense...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-06-20 13:07:33 -07:00
parent 20dae442ad
commit 7a6f87405a

View file

@ -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)