diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-10-22 14:43:55 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-23 10:06:33 -0400 |
commit | 87db35de3cb1771cdbb16eab87bede282a49c407 (patch) | |
tree | d966955434ec11e5d567fd7766d102adb60494b7 /subsurface-mobile-main.cpp | |
parent | 5d12143a6a6ec59996eed7bb4fc7768a0df877ad (diff) | |
download | subsurface-87db35de3cb1771cdbb16eab87bede282a49c407.tar.gz |
Fix broken multi selected dive to trip
See referenced issue number. It leads back to an ancient (3 year old)
commit 512c42e. Not sure this issue is introduced there, but that's not
relevant.
Key in reproducing this is the location where the context menu is
requested (using the right mouse button). When it is the row next
to the trip, the add-to-trip succeeds correctly, otherwise
it is a no-op.
The solution is rather trivial (in hindsight). Just loop over the
selected dives, and try to find the trip we want to add to.
Fixes: #522
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'subsurface-mobile-main.cpp')
0 files changed, 0 insertions, 0 deletions