mirror of
https://github.com/ksherlock/ample.git
synced 2024-06-28 00:29:40 +00:00
download window - show missing ROMs in red.
This commit is contained in:
parent
d8f0794679
commit
c6bd70f9ef
|
@ -322,10 +322,18 @@ enum {
|
|||
DownloadItem *item = [_items objectAtIndex: row];
|
||||
DownloadTableCellView *v = [tableView makeViewWithIdentifier: @"DownloadCell" owner: self];
|
||||
|
||||
NSTextField *tf;
|
||||
|
||||
tf = [v textField];
|
||||
[[v textField] setObjectValue: [item name]];
|
||||
|
||||
NSTextField *tf = [v statusTextField];
|
||||
if ([item localURL]) {
|
||||
[tf setTextColor: [NSColor blackColor]];
|
||||
} else {
|
||||
[tf setTextColor: [NSColor redColor]];
|
||||
}
|
||||
|
||||
tf = [v statusTextField];
|
||||
[tf setObjectValue: [item statusDescription]];
|
||||
if ([item error]) {
|
||||
[tf setTextColor: [NSColor redColor]];
|
||||
|
|
Loading…
Reference in New Issue
Block a user