From d1c4bcf570cdab98785a453855428a1e8dcc944f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 11 Feb 2014 09:55:14 -0800 Subject: New profile: enable switching between dive computers This was mostly in place, just needed to be hooked up. Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/mainwindow.cpp') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 4f2fd9642..08c678974 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -486,6 +486,7 @@ void MainWindow::on_actionPreviousDC_triggered() { dc_number--; ui.InfoWidget->updateDiveInfo(selected_dive); + ui.graphicsView->plotDives(QList() << (current_dive)); redrawProfile(); } @@ -493,6 +494,7 @@ void MainWindow::on_actionNextDC_triggered() { dc_number++; ui.InfoWidget->updateDiveInfo(selected_dive); + ui.graphicsView->plotDives(QList() << (current_dive)); redrawProfile(); } -- cgit v1.2.3-70-g09d2