From 5033c02a110e143b02d6995247faa8c6180890a0 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 20 Feb 2019 14:56:44 +0100 Subject: Filter: change default mode for location to any-of Since a dive has only one location all-of makes little sense. It *can* make sense if the user enters two substrings (e.g. Tofo and Reef), but generally it won't. Therefore change the default to any-of. Signed-off-by: Berthold Stoeger --- qt-models/filtermodels.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-models/filtermodels.h b/qt-models/filtermodels.h index 7370b8d5f..996c2efaa 100644 --- a/qt-models/filtermodels.h +++ b/qt-models/filtermodels.h @@ -44,7 +44,7 @@ struct FilterData { QStringList equipment; Mode tagsMode = Mode::ALL_OF; Mode peopleMode = Mode::ALL_OF; - Mode locationMode = Mode::ALL_OF; + Mode locationMode = Mode::ANY_OF; Mode equipmentMode = Mode::ALL_OF; bool logged = true; bool planned = true; -- cgit v1.2.3-70-g09d2