From 635a7ab77171e9789f13accfa5904afe27460f70 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 2 Jul 2014 12:58:41 -0700 Subject: UI restructure: updateDiveInfo shows the selected dive by default So don't be redundant. Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/profile') diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index f9f019542..05f592ab8 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -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(); } -- cgit v1.2.3-70-g09d2