From d50b88f776278751db00c66667ebe9047b69dc82 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 15 Jul 2006 16:44:45 +0000 Subject: [PATCH] Turn off filter when hiding the filter bar. --- macosx/Controller.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/macosx/Controller.m b/macosx/Controller.m index 230e398d4..293745a5f 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -1528,6 +1528,10 @@ static void sleepCallBack(void * controller, io_service_t y, { [self showFilterBar: !fFilterBarVisible animate: YES]; [fDefaults setBool: fFilterBarVisible forKey: @"FilterBar"]; + + //disable filtering when hiding + if (!fFilterBarVisible) + [self setFilter: fNoFilterButton]; } - (void) showFilterBar: (BOOL) show animate: (BOOL) animate