mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
d541b9fd42
commit
719b732230
3 changed files with 10 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue