mirror of
https://github.com/transmission/transmission
synced 2025-03-06 19:48:15 +00:00
the last commit shouldn't have unhid the check boxes
This commit is contained in:
parent
81cda31d78
commit
22d5a4ecf5
1 changed files with 3 additions and 3 deletions
|
@ -721,7 +721,7 @@
|
||||||
}
|
}
|
||||||
else if ([[tableColumn identifier] isEqualToString: @"Check"])
|
else if ([[tableColumn identifier] isEqualToString: @"Check"])
|
||||||
{
|
{
|
||||||
if (!item)
|
/*if (!item)
|
||||||
{
|
{
|
||||||
[(NSButtonCell *)cell setImagePosition: NSNoImage];
|
[(NSButtonCell *)cell setImagePosition: NSNoImage];
|
||||||
[cell setEnabled: NO];
|
[cell setEnabled: NO];
|
||||||
|
@ -730,8 +730,8 @@
|
||||||
|
|
||||||
[(NSButtonCell *)cell setImagePosition: NSImageOnly];
|
[(NSButtonCell *)cell setImagePosition: NSImageOnly];
|
||||||
[cell setEnabled: [[item objectForKey: @"IsFolder"] boolValue] ? [[item objectForKey: @"Remaining"] intValue] > 0
|
[cell setEnabled: [[item objectForKey: @"IsFolder"] boolValue] ? [[item objectForKey: @"Remaining"] intValue] > 0
|
||||||
: [[item objectForKey: @"Progress"] floatValue] < 1.0];
|
: [[item objectForKey: @"Progress"] floatValue] < 1.0];*/
|
||||||
//[(NSButtonCell *)cell setImagePosition: NSNoImage];
|
[(NSButtonCell *)cell setImagePosition: NSNoImage];
|
||||||
}
|
}
|
||||||
else;
|
else;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue