Give table focus when hiding filter bar.
This commit is contained in:
parent
0ddf85506c
commit
ce911d6d7e
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue