diff options
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 65eb86290..f85276d95 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -252,7 +252,7 @@ void MainTab::enableEdition(EditMode newEditMode) } MainWindow::instance()->dive_list()->setEnabled(false); if (amount_selected == 1) - MainWindow::instance()->globe()->prepareForGetDiveCoordinates(current_dive); + MainWindow::instance()->globe()->prepareForGetDiveCoordinates(); // We may be editing one or more dives here. backup everything. notesBackup.clear(); if (MainWindow::instance() && MainWindow::instance()->dive_list()->selectedTrips().count() == 1) { |