1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-06 06:24:31 +00:00

don't try to resize the filter bar if it's hidden

This commit is contained in:
Mitchell Livingston 2007-12-20 18:58:53 +00:00
parent 5812cc3937
commit 4f8ac624dd

View file

@ -3592,6 +3592,9 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
- (void) windowDidResize: (NSNotification *) notification
{
if ([fFilterBar isHidden])
return;
//replace all buttons
[fActiveFilterButton sizeToFit];
[fDownloadFilterButton sizeToFit];