mirror of
https://github.com/transmission/transmission
synced 2025-02-06 14:32:59 +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
|
- (void) windowDidResize: (NSNotification *) notification
|
||||||
{
|
{
|
||||||
|
if ([fFilterBar isHidden])
|
||||||
|
return;
|
||||||
|
|
||||||
//replace all buttons
|
//replace all buttons
|
||||||
[fActiveFilterButton sizeToFit];
|
[fActiveFilterButton sizeToFit];
|
||||||
[fDownloadFilterButton sizeToFit];
|
[fDownloadFilterButton sizeToFit];
|
||||||
|
|
Loading…
Reference in a new issue