summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-10-22 14:43:55 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-23 10:06:33 -0400
commit87db35de3cb1771cdbb16eab87bede282a49c407 (patch)
treed966955434ec11e5d567fd7766d102adb60494b7 /profile-widget
parent5d12143a6a6ec59996eed7bb4fc7768a0df877ad (diff)
downloadsubsurface-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 'profile-widget')
0 files changed, 0 insertions, 0 deletions