Map: in dive-site-edit mode, select those maps we filter for

When dive sites are edited, we shouldn't highlight the sites
of the current dive, but the currently edited site(s).

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-05-03 23:37:42 +02:00 committed by Dirk Hohndel
parent d29f82c52d
commit cd5489e08d
3 changed files with 11 additions and 2 deletions

View file

@ -64,6 +64,7 @@ public:
int divesDisplayed;
bool lessThan(const QModelIndex &, const QModelIndex &) const override;
bool diveSiteMode() const; // returns true if we're filtering on dive site
const QVector<dive_site *> &filteredDiveSites() const;
public
slots:
void myInvalidate();