mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Filter: move num_shown logic from model to core
Since the number of shown dives is stored in the core, let's also keep it updated there. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
b76f207158
commit
9ffafbc326
4 changed files with 18 additions and 20 deletions
|
@ -1377,7 +1377,6 @@ void DiveTripModelList::filterFinished()
|
|||
// In list mode, we don't have to change anything after filter finished.
|
||||
}
|
||||
|
||||
|
||||
// Simple sorting helper for sorting against a criterium and if
|
||||
// that is undefined against a different criterium.
|
||||
// Return true if diff1 < 0, false if diff1 > 0.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue