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:
Dirk Hohndel 2014-07-02 12:58:41 -07:00
parent 2a55e55868
commit 635a7ab771
4 changed files with 7 additions and 7 deletions

View file

@ -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();
}