diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-12-12 15:03:25 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-12 15:03:25 -0800 |
commit | 719b732230ea7a7afc28944ae359f762d6a6ef48 (patch) | |
tree | ba91bfdf2e3a94cfb268bb0b0a3cfdf456c42053 /qt-ui | |
parent | d541b9fd421caa410c5e186b26b82cd238b6447b (diff) | |
download | subsurface-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.cpp | 2 |
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); |