summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-12 15:03:25 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-12 15:03:25 -0800
commit719b732230ea7a7afc28944ae359f762d6a6ef48 (patch)
treeba91bfdf2e3a94cfb268bb0b0a3cfdf456c42053 /qt-ui
parentd541b9fd421caa410c5e186b26b82cd238b6447b (diff)
downloadsubsurface-719b732230ea7a7afc28944ae359f762d6a6ef48.tar.gz
Fix incorrect handling of autogrouped trips
When toggling autogroup in the menu we ended up setting the NO_TRIP flag for dives that were removed from a trip that was created by autogroup. So toggling things on and off and on again meant no more auto grouping. Fixes #337 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/divelistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index ef1817fbe..2090f61a5 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -548,7 +548,7 @@ void DiveListView::removeFromTrip()
struct dive *d;
for_each_dive(i, d) {
if (d->selected)
- remove_dive_from_trip(d);
+ remove_dive_from_trip(d, FALSE);
}
rememberSelection();
reload(currentLayout, false);