1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00

desktop: don't call plotDive with doClearPictures = true

This was an old "optimization" to avoid double plotting of the
pictures, first by the profile itself, then by the picture tab.
Since the profile now updates the pictures itself, this must
be removed: The picture tab doesn't do it anymore.

Fixes 

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-05-15 10:06:50 +02:00 committed by Dirk Hohndel
parent 27505aedfb
commit 1777df405f
2 changed files with 4 additions and 3 deletions

View file

@ -1,3 +1,4 @@
Desktop: fix plotting of thumbnails on profile [#2833]
Core: always include BT/BLE name, even for devices no recognized as dive computer
Core: fix failure to recognize several Aqualung BLE dive computers
Mobile: show dive tags on dive details page

View file

@ -449,7 +449,7 @@ void MainWindow::selectionChanged()
configureToolbar();
enableDisableOtherDCsActions();
}
graphics->plotDive(current_dive, false, true);
graphics->plotDive(current_dive, false);
MapWidget::instance()->selectionChanged();
}
@ -1080,7 +1080,7 @@ void MainWindow::on_actionPreviousDC_triggered()
unsigned nrdc = number_of_computers(current_dive);
dc_number = (dc_number + nrdc - 1) % nrdc;
configureToolbar();
graphics->plotDive(current_dive, false, true);
graphics->plotDive(current_dive, false);
mainTab->updateDiveInfo();
}
@ -1089,7 +1089,7 @@ void MainWindow::on_actionNextDC_triggered()
unsigned nrdc = number_of_computers(current_dive);
dc_number = (dc_number + 1) % nrdc;
configureToolbar();
graphics->plotDive(current_dive, false, true);
graphics->plotDive(current_dive, false);
mainTab->updateDiveInfo();
}