From 73858a75b3a9204aca7f98042e00727f5d7c7ceb Mon Sep 17 00:00:00 2001 From: yexo Date: Mon, 29 Oct 2012 20:23:17 +0000 Subject: (svn r24650) -Fix (r24647, r24648): fixing logic errors is hard --- src/settings_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 67d383db4..c64d00619 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(); -- cgit v1.2.3-70-g09d2