mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
73d6057424
commit
d1c4bcf570
4 changed files with 14 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue