Don't just change the location when double clicking on the globe

Instead be consistent with other parts of the code and put us in editing
mode so the user can accept / reject the change.

See #800
Fixes #801

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-01-19 17:32:17 +12:00
parent 83018619d6
commit df46b85ee1
4 changed files with 14 additions and 13 deletions

View file

@ -39,6 +39,9 @@ private:
bool editingDiveLocation;
bool doubleClick;
signals:
void coordinatesChanged(void);
public
slots:
void changeDiveGeoPosition(qreal lon, qreal lat, GeoDataCoordinates::Unit);