diff options
Diffstat (limited to 'qt-ui/locationinformation.cpp')
-rw-r--r-- | qt-ui/locationinformation.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index 9d69ba5d2..3bb37ca21 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -121,12 +121,6 @@ void LocationInformationWidget::markChangedWidget(QWidget *w) void LocationInformationWidget::resetState() { - if (displayed_dive.id) { - struct dive_site *ds = get_dive_site_by_uuid(displayed_dive.dive_site_uuid); - if(ds) { - displayed_dive_site = *ds; - } - } modified = false; resetPallete(); MainWindow::instance()->dive_list()->setEnabled(true); |