option menu: fix section being filtered when they shouldn't

This commit is contained in:
yugecin 2017-06-22 12:10:02 +02:00
parent 7a51828102
commit c15168a2c6

View File

@ -1069,9 +1069,7 @@ public class OptionsOverlay extends OverlayOpsuState {
if (section.options == null) { if (section.options == null) {
lastBigSectionMatches = sectionMatches; lastBigSectionMatches = sectionMatches;
lastBigSection = section; lastBigSection = section;
if (!lastBigSectionMatches) { section.filtered = !lastBigSectionMatches;
section.filtered = true;
}
continue; continue;
} }
section.filtered = true; section.filtered = true;