mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
UI restructure: updateDiveInfo shows the selected dive by default
So don't be redundant. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2a55e55868
commit
635a7ab771
4 changed files with 7 additions and 7 deletions
|
@ -1055,7 +1055,7 @@ void ProfileWidget2::changeGas()
|
|||
add_gas_switch_event(d, get_dive_dc(d, diveComputer), seconds, get_gasidx(d, &gasmix));
|
||||
// this means we potentially have a new tank that is being used and needs to be shown
|
||||
fixup_dive(d);
|
||||
MainWindow::instance()->information()->updateDiveInfo(selected_dive);
|
||||
MainWindow::instance()->information()->updateDiveInfo();
|
||||
mark_divelist_changed(true);
|
||||
replot();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue