From 78662f653279a8beee04aa2b23e6827cd800c985 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 21 Sep 2013 16:24:40 +0000 Subject: [PATCH] #5494 Filter should reset when bar is hidden --- macosx/Controller.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index ae67e08cb..0b2bd2cda 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -3620,14 +3620,14 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy { const BOOL show = fFilterBar == nil; + //disable filtering when hiding (have to do before showFilterBar:animate:) + if (!show) + [fFilterBar reset: NO]; + [self showFilterBar: show animate: YES]; [fDefaults setBool: show forKey: @"FilterBar"]; [[fWindow toolbar] validateVisibleItems]; - //disable filtering when hiding - if (!show) - [fFilterBar reset: NO]; - [self applyFilter]; //do even if showing to ensure tooltips are updated }