diff options
Diffstat (limited to 'desktop-widgets/locationinformation.cpp')
-rw-r--r-- | desktop-widgets/locationinformation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp index 320b248b8..225e7ed78 100644 --- a/desktop-widgets/locationinformation.cpp +++ b/desktop-widgets/locationinformation.cpp @@ -255,7 +255,7 @@ void LocationInformationWidget::resetState() { modified = false; resetPallete(); - MainWindow::instance()->dive_list->setEnabled(true); + MainWindow::instance()->diveList->setEnabled(true); MainWindow::instance()->setEnabledToolbar(true); ui.diveSiteMessage->setText(tr("Dive site management")); MapWidget::instance()->endGetDiveCoordinates(); @@ -267,7 +267,7 @@ void LocationInformationWidget::resetState() void LocationInformationWidget::enableEdition() { - MainWindow::instance()->dive_list->setEnabled(false); + MainWindow::instance()->diveList->setEnabled(false); MainWindow::instance()->setEnabledToolbar(false); ui.diveSiteMessage->setText(tr("You are editing a dive site")); } |