summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-02 12:58:41 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 09:37:55 -0700
commit635a7ab77171e9789f13accfa5904afe27460f70 (patch)
tree804c5d34b3a446f6b2b5d672b10fe6355c188607 /qt-ui/profile/profilewidget2.cpp
parent2a55e55868870731258fe2230321ed23bc0cbaed (diff)
downloadsubsurface-635a7ab77171e9789f13accfa5904afe27460f70.tar.gz
UI restructure: updateDiveInfo shows the selected dive by default
So don't be redundant. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}