diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-11 09:55:14 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-11 12:35:54 -0800 |
commit | d1c4bcf570cdab98785a453855428a1e8dcc944f (patch) | |
tree | 95c28bc2de064fd36b4d77d524c7f3053f5ee174 /qt-ui/mainwindow.cpp | |
parent | 73d60574243d7ea8a41726a3cd21d412697813e3 (diff) | |
download | subsurface-d1c4bcf570cdab98785a453855428a1e8dcc944f.tar.gz |
New profile: enable switching between dive computers
This was mostly in place, just needed to be hooked up.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<struct dive*>() << (current_dive)); redrawProfile(); } @@ -493,6 +494,7 @@ void MainWindow::on_actionNextDC_triggered() { dc_number++; ui.InfoWidget->updateDiveInfo(selected_dive); + ui.graphicsView->plotDives(QList<struct dive*>() << (current_dive)); redrawProfile(); } |