1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-20 13:16:53 +00:00

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

View file

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