mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
d29f82c52d
commit
cd5489e08d
3 changed files with 11 additions and 2 deletions
|
@ -278,6 +278,11 @@ void MultiFilterSortModel::stopFilterDiveSites()
|
|||
myInvalidate();
|
||||
}
|
||||
|
||||
const QVector<dive_site *> &MultiFilterSortModel::filteredDiveSites() const
|
||||
{
|
||||
return dive_sites;
|
||||
}
|
||||
|
||||
bool MultiFilterSortModel::diveSiteMode() const
|
||||
{
|
||||
return !dive_sites.isEmpty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue