diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/settings_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 6de7af7b2..67d383db4 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -1343,7 +1343,7 @@ bool SettingEntry::UpdateFilterState(StringFilter &filter, bool force_visible, R bool visible = true; switch (this->flags & SEF_KIND_MASK) { case SEF_SETTING_KIND: { - if (force_visible !! !filter.IsEmpty()) { + if (force_visible || !filter.IsEmpty()) { /* Process the search text filter for this item. */ filter.ResetState(); |