cgeo/c-geo-opensource — pull request #2212 by marco-jacob (2012-11-29 21:42:24+00:00)
Title: fix finalDefined flag vanishing on list item refresh

As discussed with @Bananeweizen in a previous commit:

I changed calls to waypoints.add in cgCache.gatherMissingFrom to calls of setWaypoints which internally sets finalDefined.

@Lineflyer

The problem is reproducable:

- take a mystery
- add a user defined final waypoint in c:geo
- go to list view
- mark mystery for refresh
- call menu/refresh

-> finalDefined overlay is gone

I will not merge my own changes before someone tells me to do.