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:
parent
cc728b0470
commit
5c61c7c7f6
1 changed files with 2 additions and 0 deletions
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue