Disable the track import checkbox if the track can't be imported
This commit is contained in:
1 file changed
+1
@@ -455,6 +455,7 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
|
|||||||
case checkColumn?:
|
case checkColumn?:
|
||||||
let cell = tableView.makeView(withIdentifier: checkColumn, owner:self) as? CheckBoxCellView
|
let cell = tableView.makeView(withIdentifier: checkColumn, owner:self) as? CheckBoxCellView
|
||||||
cell?.checkboxButton?.state = settings.checked ? .on : .off
|
cell?.checkboxButton?.state = settings.checked ? .on : .off
|
||||||
|
cell?.checkboxButton?.isEnabled = settings.importable
|
||||||
return cell
|
return cell
|
||||||
|
|
||||||
case trackIdColumn?:
|
case trackIdColumn?:
|
||||||
|
|||||||
Reference in new issue
Block a user