Disable the track import checkbox if the track can't be imported

This commit is contained in:
Damiano Galassi committed 2026-09-11 09:34:26 +02:00
1 parent b0d8ee73a8
commit 6c124ca5d0
1 file changed
+1
+1
View File
@@ -455,6 +455,7 @@ final class FileImportController: ViewController, NSTableViewDataSource, NSTable
case checkColumn?:
let cell = tableView.makeView(withIdentifier: checkColumn, owner:self) as? CheckBoxCellView
cell?.checkboxButton?.state = settings.checked ? .on : .off
cell?.checkboxButton?.isEnabled = settings.importable
return cell
case trackIdColumn?: