From 9c5e037a612808a9ad1d2c9f8e6ec7213d5d468b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 19 Nov 2013 23:08:20 -0800 Subject: Trigger redraw of the Dive Info pane on preferences change If we change the units we need to redraw the info on this pane. Signed-off-by: Dirk Hohndel --- qt-ui/maintab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/maintab.h') diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index 6aee9fbfe..233aa9439 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -63,7 +63,7 @@ public: public slots: void addCylinder_clicked(); void addWeight_clicked(); - void updateDiveInfo(int dive); + void updateDiveInfo(int dive = selected_dive); void acceptChanges(); void rejectChanges(); void on_location_textChanged(const QString& text); -- cgit v1.2.3-70-g09d2