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:
parent
5812cc3937
commit
4f8ac624dd
1 changed files with 3 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue