subsurface/map-widget
Berthold Stoeger 0416e54049 Dive site: select dive site when entering edit mode
Commit 0aef04352a made it impossible
to move new dive sites on the map. When entering dive-site-edit mode,
the filter would be instructed to show only dives of the corresponding
dive site [which didn't yet exist] and therefore all dive sites
on the map were deselected.

Fix this by explicitly centering on the dive site to be edited in
MapWidgetHelper::enterEditMode().

Fixes #1809

Reported-by: Jan Mulder <jlmulder@xs4all.nl>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-10-19 06:20:07 -04:00
..
qml map-widget: add qrc file for widget 2018-06-21 20:27:58 -07:00
qmlmapwidgethelper.cpp Dive site: select dive site when entering edit mode 2018-10-19 06:20:07 -04:00
qmlmapwidgethelper.h Map: pass down dive site in prepareForGetDiveCoordinates() 2018-10-11 16:25:32 -07:00