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 e02fa1988..65eb86290 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -891,7 +891,7 @@ void MainTab::rejectChanges() MainWindow::instance()->dive_list()->setFocus(); // the user could have edited the location and then canceled the edit // let's get the correct location back in view - MainWindow::instance()->globe()->centerOn(current_dive); + MainWindow::instance()->globe()->centerOnCurrentDive(); } #undef EDIT_TEXT2 |