From c6bd70f9efc1e3594e0232ca8d00264bf41ad2d0 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sat, 12 Sep 2020 18:01:32 -0400 Subject: [PATCH] download window - show missing ROMs in red. --- Ample/DownloadWindowController.m | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Ample/DownloadWindowController.m b/Ample/DownloadWindowController.m index af82160..956e008 100644 --- a/Ample/DownloadWindowController.m +++ b/Ample/DownloadWindowController.m @@ -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]];