1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 17:47:37 +00:00

clicking on an already-clicked filter button will not deselect it

This commit is contained in:
Mitchell Livingston 2007-11-16 22:03:59 +00:00
parent cc728b0470
commit 5c61c7c7f6

View file

@ -1867,6 +1867,8 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[fDefaults setObject: filterType forKey: @"Filter"]; [fDefaults setObject: filterType forKey: @"Filter"];
} }
else
[sender setState: NSOnState];
[self applyFilter: nil]; [self applyFilter: nil];
} }