Howto solve bug when adding and editing gps locations

Miika Turkia miika.turkia at gmail.com
Sun Jan 18 14:32:52 PST 2015


> 
> /* if we have a master and the dive's gps address is different from it,
> * don't change the dive */
> if (master && (master->latitude.udeg != dive->latitude.udeg ||
>               master->longitude.udeg != dive->longitude.udeg))
>        return false;
> 
> When I remove this check, I can edit the coordinates without any
> problems. However, I do not know if this would affect the flow of the
> application in other usecases.

Sounds like master is set too early. I believe the master should not be set until user hits accept changes. (I just cannot verify this from the sources with my cell)

miika


More information about the subsurface mailing list