diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-02-03 23:04:23 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-04 02:17:36 +0100 |
commit | 317ee2f1049b7d4e859162c4c60bd1ebd3eaf8cb (patch) | |
tree | 64447103f2e3c63a63a7214ef377a62400156cee /backend-shared/plannershared.cpp | |
parent | 9ed886e4bea6c88a427a8fce50e2cb226d24afcc (diff) | |
download | subsurface-317ee2f1049b7d4e859162c4c60bd1ebd3eaf8cb.tar.gz |
Dive site: inform map of selection in DiveFilter::setFilterDiveSite
When starting / changing the dive-site filter, inform the map of
the changed dive site selection by calling
MapWidget::instance()->selectionChanged();
This fixes a bug, where on clicking dive sites in the dive site
tab the dive sites from the *previous* click were highlighted.
Perhaps the selectionChanged() call should be put into the
setSelected() call. But the data flow between the different
parts of the dive-site and map code are so convoluted that I
don't want to risk anything!
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'backend-shared/plannershared.cpp')
0 files changed, 0 insertions, 0 deletions