diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-05-01 14:47:52 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-01 15:23:33 -0700 |
commit | 4243fcb9156218f54b3103ce7c8de6ea222f3cfb (patch) | |
tree | 7b09846deb68cde5e4d60ede981fff9c8a17c20c /android.cpp | |
parent | 7f3b487c77c71cc7e3f62bfd2ebde4559a0a6e56 (diff) | |
download | subsurface-4.0.97.tar.gz |
Dont set coordinates when two or more dives are selectedv4.0.97
If a trip is selected (or for other reasons more than one dive), this
would change the GPS coordinates of the whole selection which almost
certainly isn't what the user wanted.
Instead, only allow changes of the coordinates on the globe if exactly one
dive is selected.
[Dirk Hohndel: massively rewritten and extended - but I didn't want to
simply "steal" the commit from Tomaz...
This now maintains the "zoom out mode" for dives without
GPS coordinates and deals with edits of multiple dives that
are initiated the "normal way" by starting to edit other
data as well.]
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'android.cpp')
0 files changed, 0 insertions, 0 deletions