mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: Hide map it text if no coordinates exists
This hides the text for the map it button if ther are no coordinates for a dive. Needed as for the dark theme the map it text was still visible. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
2ecd7e58d4
commit
60b64ceca4
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ Item {
|
||||||
Kirigami.Label {
|
Kirigami.Label {
|
||||||
id: buttonText
|
id: buttonText
|
||||||
text: qsTr("Map it")
|
text: qsTr("Map it")
|
||||||
|
visible: dive.gps !== ""
|
||||||
color: subsurfaceTheme.darkerPrimaryTextColor
|
color: subsurfaceTheme.darkerPrimaryTextColor
|
||||||
anchors {
|
anchors {
|
||||||
horizontalCenter: parent.horizontalCenter
|
horizontalCenter: parent.horizontalCenter
|
||||||
|
|
Loading…
Add table
Reference in a new issue