Give table focus when hiding filter bar.

This commit is contained in:
Mitchell Livingston 2006-07-17 03:02:56 +00:00
parent 0ddf85506c
commit ce911d6d7e
1 changed files with 3 additions and 0 deletions

View File

@ -1621,7 +1621,10 @@ static void sleepCallBack(void * controller, io_service_t y,
minSize.height += heightChange; minSize.height += heightChange;
[fWindow setContentMinSize: minSize]; [fWindow setContentMinSize: minSize];
//enable/disable search field
[fSearchFilterField setEnabled: show]; [fSearchFilterField setEnabled: show];
if (!show)
[fWindow makeFirstResponder: fTableView];
//reset tracking rects for filter buttons //reset tracking rects for filter buttons
[fNoFilterButton resetBounds: nil]; [fNoFilterButton resetBounds: nil];