mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Only auto-complete gps information when empty.
Previously gps information was always overwritten, unless the user had
modified it in the current editing session. This causes problem with
some use cases, like when coordinates are provided before the location
name by the companion app.
Now gps information is only overwritten when it is:
- Empty
- Auto-completed in the current editing session. (When the user hits
accept it is considered hand-edited.)
Signed-off-by: Michael Andreen <harv@ruin.nu>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3c8155880a
commit
c7ea7426f7
2 changed files with 12 additions and 3 deletions
|
|
@ -99,6 +99,7 @@ private:
|
|||
void resetPallete();
|
||||
void saveTags();
|
||||
QString printGPSCoords(int lat, int lon);
|
||||
void updateGpsCoordinates(const struct dive *dive);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue