diff options
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/locationinformation.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp index d827f5006..0da3e12ee 100644 --- a/desktop-widgets/locationinformation.cpp +++ b/desktop-widgets/locationinformation.cpp @@ -212,11 +212,6 @@ void LocationInformationWidget::acceptChanges() if (!ui.diveSiteCoordinates->text().isEmpty()) parseGpsText(ui.diveSiteCoordinates->text(), diveSite->location); - if (dive_site_is_empty(diveSite)) { - LocationInformationModel::instance()->removeRow(get_divesite_idx(diveSite, &dive_site_table)); - displayed_dive.dive_site = nullptr; - diveSite = nullptr; - } mark_divelist_changed(true); resetState(); } |