mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
QML UI: disable the MouseArea
Visible doesn't even make sense... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
20dae442ad
commit
7a6f87405a
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ Item {
|
||||||
}
|
}
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
visible: dive.gps_decimal !== ""
|
enabled: dive.gps_decimal !== ""
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (dive.gps_decimal !== "")
|
if (dive.gps_decimal !== "")
|
||||||
showMap(dive.gps_decimal)
|
showMap(dive.gps_decimal)
|
||||||
|
@ -78,7 +78,7 @@ Item {
|
||||||
}
|
}
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
visible: dive.gps_decimal !== ""
|
enabled: dive.gps_decimal !== ""
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (dive.gps_decimal !== "")
|
if (dive.gps_decimal !== "")
|
||||||
showMap(dive.gps_decimal)
|
showMap(dive.gps_decimal)
|
||||||
|
|
Loading…
Reference in a new issue