mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
In location information UI set reverse geo lookup button activ...
as soon as coordinates are available . Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
5b415ad8db
commit
0b6fb49489
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ void LocationInformationWidget::updateGpsCoordinates()
|
|||
QString oldText = ui.diveSiteCoordinates->text();
|
||||
const char *coords = printGPSCoords(displayed_dive_site.latitude.udeg, displayed_dive_site.longitude.udeg);
|
||||
ui.diveSiteCoordinates->setText(coords);
|
||||
ui.geoCodeButton->setEnabled(dive_site_has_gps_location(&displayed_dive_site));
|
||||
free((void *)coords);
|
||||
if (oldText != ui.diveSiteCoordinates->text())
|
||||
markChangedWidget(ui.diveSiteCoordinates);
|
||||
|
|
Loading…
Reference in a new issue