diff options
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.cpp')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index bf277d74d..00f9d6ad4 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -511,7 +511,7 @@ void MainTab::acceptChanges() if (editMode) { MainWindow::instance()->diveList->reload(); MainWindow::instance()->refreshDisplay(); - MainWindow::instance()->graphics->replot(); + MainWindow::instance()->graphics->plotDive(current_dive, true); } else { MainWindow::instance()->refreshDisplay(); } @@ -547,7 +547,7 @@ void MainTab::rejectChanges() updateDiveInfo(); // show the profile and dive info - MainWindow::instance()->graphics->replot(); + MainWindow::instance()->graphics->plotDive(current_dive, true); MainWindow::instance()->setEnabledToolbar(true); ui.editDiveSiteButton->setEnabled(!ui.location->text().isEmpty()); } |