diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-22 00:05:52 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-24 10:05:27 -0700 |
commit | 89784a176efb52558b3fa103401fd7d8d2be0fe5 (patch) | |
tree | 5c5e124c30f4ee76103748b02fda2ceac7b3dac8 /android-mobile | |
parent | 9b8eed7821c7e55c5e2eccd252184a6d2123e3cd (diff) | |
download | subsurface-89784a176efb52558b3fa103401fd7d8d2be0fe5.tar.gz |
filter: implement filtering for divemode
This only checks the first divecomputer as the semantics for
multiple dive computers with different dive modes are not
clear. Should we check them all?
The implementation is a bit hackish: the indexes [0...n] of the
combobox are mapped onto [-1...n-1], where -1 means don't filter
and n-1 is the last valid dive mode.
Implements #2329
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'android-mobile')
0 files changed, 0 insertions, 0 deletions