summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-07-29 12:50:06 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-29 09:38:01 -0700
commit8c8657f9965ccebc481a741bd8d525f13ff5b8b0 (patch)
tree7bb55ccd3cae191be61f3ff0b94771ac915e8b2f /qt-ui/mainwindow.cpp
parent1786148d31a1013d6279280d89f8acbcdbc94ef5 (diff)
downloadsubsurface-8c8657f9965ccebc481a741bd8d525f13ff5b8b0.tar.gz
Don't cross link events between displayed_dive and current_dive
The copy_dive assumed that the event being removed was from current_dive, wich was until a very recent past. now it can't assume that anymore, so instead of setting ev = assumed_dive->event->next, we do a ev = current_dive->event->next. Fixes #663 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions