cgeo/c-geo-opensource — pull request #1337 by marco-jacob (2012-03-25 20:34:20+00:00)
Title: Fix for Issue #1331

StaticMapsImport finishes normal on cancel to report the count.
I forgot to skip the following sendMessage (finished) that shows the second message.

Solution was to return a boolean from importStaticMaps showing if it finished or
was canceled.

A second issue was that skipping Waypoint file also was showing number of caches
although none was imported. That was because I didn't reset the internal progress
of Progress dialog on setMaxAndReset(int).

Both solved.