mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Map: show all dive sites when in dive-site filter mode
When on the dive site tab or editing a dive site, we want to show all dive sites so that the user can related different dive sites. Therefore export a "in dive site mode" flag from the filter model and don't filter in that case in MapWidgetHelper. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
23cf85e89c
commit
3e05d61eb9
3 changed files with 19 additions and 2 deletions
|
@ -63,6 +63,7 @@ public:
|
|||
bool updateDive(struct dive *d); // returns true if visibility status changed
|
||||
int divesDisplayed;
|
||||
bool lessThan(const QModelIndex &, const QModelIndex &) const override;
|
||||
bool diveSiteMode() const; // returns true if we're filtering on dive site
|
||||
public
|
||||
slots:
|
||||
void myInvalidate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue