diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-08-01 10:47:09 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-11 16:22:27 -0700 |
commit | 0d98da52610161ecbafd50afacbff20996756264 (patch) | |
tree | 686947161c92eb96329512af1dcc4d4a18af4fef /desktop-widgets/groupedlineedit.cpp | |
parent | 96d87273995a6af35d90efb1190ff653e4c03d02 (diff) | |
download | subsurface-0d98da52610161ecbafd50afacbff20996756264.tar.gz |
Dive list: remember selected dives
Don't delesect dives, when unregistering them from the backend.
If a previously selected dive is added, select it in the dive-list.
For this purpose introduce a SELECTED_ROLE to query the DiveTripModel
for selected dives.
Unfortunately, when adding multiple selected dives, current_dive_changed
is called for each of them, making this very slow. This will have
to be fixed in subsequent commits.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/groupedlineedit.cpp')
0 files changed, 0 insertions, 0 deletions