mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
avoid unnecessary memory allocation when updating the rpc access list
This commit is contained in:
@@ -842,7 +842,6 @@ typedef enum
|
||||
{
|
||||
if ([notification object] == fTrackerTable)
|
||||
{
|
||||
#warning disable when all selected
|
||||
int numSelected = [fTrackerTable numberOfSelectedRows];
|
||||
[fTrackerAddRemoveControl setEnabled: numSelected > 0 forSegment: TRACKER_REMOVE_TAG];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user