mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Dive list: update trip headers on filter-finish
On change of the filter, the headers of non-extended trips were not updated. Therefore, on filter-finish-event loop over all trips in DiveTripModel and signal data-changed. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
bca9c8f88c
commit
2f81890f49
2 changed files with 17 additions and 0 deletions
|
@ -75,6 +75,7 @@ private slots:
|
|||
void divesSelected(dive_trip *trip, const QVector<dive *> &dives);
|
||||
void divesDeselected(dive_trip *trip, const QVector<dive *> &dives);
|
||||
void currentDiveChanged();
|
||||
void filterFinished();
|
||||
private:
|
||||
// The model has up to two levels. At the top level, we have either trips or dives
|
||||
// that do not belong to trips. Such a top-level item is represented by the "Item"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue