diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-05-03 22:17:03 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-05-11 12:06:19 -0700 |
commit | 403206ca06cf87d64b75cafa8629956ea7cf282b (patch) | |
tree | 59a1d29131fe43ff369a38c0c95178070e892c45 /map-widget | |
parent | 8eb586d1d4b5de9433239cda9a9462ba5a250058 (diff) | |
download | subsurface-403206ca06cf87d64b75cafa8629956ea7cf282b.tar.gz |
Selection: automatically unselect old selection in selectDives()
DiveListView::selectDives() would only select new dives but not clear
the old selection. Thus, callers would have to clear the selection
first. That would lead to two selection-changed signals.
Move the unselectDives() call into DiveListView::selectDives().
The DiveListView has an internal flag to prevent double signals.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'map-widget')
0 files changed, 0 insertions, 0 deletions