summaryrefslogtreecommitdiffstats
path: root/qt-ui/statistics
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-10-06 15:59:51 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-06 21:17:03 +0100
commit786f164046af5fdc6f676b8ae86928181f2d214c (patch)
tree2a0f5ddf8fd91a01f3888468e685e1c1d8d41e6f /qt-ui/statistics
parent20f8c89d6443569a31464c8127f3d809a433dccc (diff)
downloadsubsurface-786f164046af5fdc6f676b8ae86928181f2d214c.tar.gz
Be way more carefull when copying dive site
I don't know how I was not shot regarding on how broken the old behavior was. The new behavior: 1 copy the old_dive_site on top of the current_dive_site only if the current_dive_site was actually a new uuid, created by that method. 2 if the current_dive_site is an existing one but it doesn't have gps coords, copy only the gps coords. This fixes existing dive sites copying notes and coordinates from the old_dive_site. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/statistics')
0 files changed, 0 insertions, 0 deletions