mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: if we don't have a current position, update it later
Once we get a new fix we asynchronously update the text. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ca3be8f376
commit
1d95cc4cbf
3 changed files with 13 additions and 1 deletions
|
@ -177,6 +177,12 @@ Item {
|
|||
gpsText = manager.getCurrentPosition()
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: manager
|
||||
onWaitingForPositionChanged: {
|
||||
gpsText = manager.getCurrentPosition()
|
||||
}
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
Layout.alignment: Qt.AlignRight
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue