From ce911d6d7e383b75666f5d7694ff2719890c7e8e Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 17 Jul 2006 03:02:56 +0000 Subject: [PATCH] Give table focus when hiding filter bar. --- macosx/Controller.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macosx/Controller.m b/macosx/Controller.m index 04c6d8446..ca5b60659 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -1621,7 +1621,10 @@ static void sleepCallBack(void * controller, io_service_t y, minSize.height += heightChange; [fWindow setContentMinSize: minSize]; + //enable/disable search field [fSearchFilterField setEnabled: show]; + if (!show) + [fWindow makeFirstResponder: fTableView]; //reset tracking rects for filter buttons [fNoFilterButton resetBounds: nil];