diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 346fdc6a9..5f7e7da47 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -546,7 +546,7 @@ void MainTab::updateDiveInfo(bool clear) if (ds) copy_dive_site(ds, &displayed_dive_site); } - ui.editDiveSiteButton->setVisible(ds && dive_site_has_gps_location(ds)); + ui.editDiveSiteButton->setEnabled(ds); if (ds) { // construct the location tags QString locationTag; diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index fb4180dbc..7ea895863 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -211,7 +211,7 @@ - Perform a location lookup based on GPS information (country, city, body of water, etc.) + Edit dive site ...