Turn off filter when hiding the filter bar.

This commit is contained in:
Mitchell Livingston 2006-07-15 16:44:45 +00:00
parent 87fee99801
commit d50b88f776
1 changed files with 4 additions and 0 deletions

View File

@ -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