mirror of
https://github.com/ksherlock/ample.git
synced 2025-01-23 15:30:08 +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…
x
Reference in New Issue
Block a user