summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/locationinformation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp
index c9d11b5ee..06b89e9d1 100644
--- a/desktop-widgets/locationinformation.cpp
+++ b/desktop-widgets/locationinformation.cpp
@@ -267,7 +267,7 @@ void LocationInformationWidget::on_GPSbutton_clicked()
void LocationInformationWidget::on_diveSiteCoordinates_editingFinished()
{
- if (diveSite)
+ if (diveSite && validateGpsText(ui.diveSiteCoordinates->text()))
Command::editDiveSiteLocation(diveSite, parseGpsText(ui.diveSiteCoordinates->text()));
}