diff options
-rw-r--r-- | qt-ui/maintab.cpp | 2 | ||||
-rw-r--r-- | qt-ui/maintab.ui | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ <item> <widget class="QToolButton" name="editDiveSiteButton"> <property name="toolTip"> - <string>Perform a location lookup based on GPS information (country, city, body of water, etc.)</string> + <string>Edit dive site</string> </property> <property name="text"> <string>...</string> |