summaryrefslogtreecommitdiffstats
path: root/qt-models/diveplannermodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-12-24 14:35:59 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-26 13:08:49 -0800
commitb6bf57a13b5e4d3dd469b0fa8790d341eb4f1304 (patch)
treee57922eee99f54276adec54d4f277c8f26e1d1ab /qt-models/diveplannermodel.cpp
parentb86c70ab2ce91c46355a71008334aa6743caa1e6 (diff)
downloadsubsurface-b6bf57a13b5e4d3dd469b0fa8790d341eb4f1304.tar.gz
Introduce negate-toggle buttons to filter lists
Introduce toggle buttons which mean "filter all dives except those fulfilling the selected criteria". The old code used to check for rowCount() == 0. This should never happen, because there is always a row "empty field". This check was moved into the preamble of the functions to seperate it from the actual logic. Fixes #435 Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/diveplannermodel.cpp')
0 files changed, 0 insertions, 0 deletions