Restore the previous style for the file importer group cell, plus refactor the attribute strings styles.

This commit is contained in:
Damiano Galassi committed 2017-11-01 09:36:20 +01:00
1 parent fb9fe6a969
commit 891c09970d
3 files changed
+26 -39

No files matched your search

+1 -1
View File
@@ -403,7 +403,7 @@ class FileImportController: NSWindowController, NSTableViewDataSource, NSTableVi
switch items[row] {
case .file(let importer):
let groupCell = tableView.makeView(withIdentifier: trackNameColumn, owner:self) as? NSTableCellView
groupCell?.textField?.stringValue = importer.fileURL.lastPathComponent
groupCell?.textField?.attributedStringValue = importer.fileURL.lastPathComponent.groupAttributedString()
return groupCell
case .track(let settings):