mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile/filtering: update nr of dives shown in a trip when filtering
Whenever the filter changes, simply walk the filtered dive list and ensure that we have the correct count for dives that match this filter. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
89a242976f
commit
c5fb66e775
2 changed files with 22 additions and 0 deletions
|
@ -21,6 +21,7 @@ public slots:
|
|||
void setFilter(QString f);
|
||||
void resetFilter();
|
||||
int shown();
|
||||
void updateDivesShownInTrips();
|
||||
protected:
|
||||
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const;
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue