|
@@ -51,7 +51,7 @@ class KMThumbnailTableView: KMBotaTableView {
|
|
|
override func preparedCell(atColumn column: Int, row: Int) -> NSCell? {
|
|
|
let cell = super.preparedCell(atColumn: column, row: row)
|
|
|
if self.selectionHighlightStyle == .regular && self.isRowSelected(row) && cell?.type == .textCellType {
|
|
|
- var attrString = cell?.attributedStringValue.mutableCopy() as? NSMutableAttributedString
|
|
|
+ let attrString = cell?.attributedStringValue.mutableCopy() as? NSMutableAttributedString
|
|
|
attrString?.addAttribute(.foregroundColor, value: NSColor.black, range: NSMakeRange(0, attrString?.length ?? 0))
|
|
|
if attrString != nil {
|
|
|
cell?.attributedStringValue = attrString!
|