Fix artwork first selection if the preferred artwork type is not available.

This commit is contained in:
Damiano Galassi committed 2018-10-31 12:50:27 +01:00
1 parent 4000980720
commit b3baf756ff
1 file changed
+1 -2
+1 -2
View File
@@ -344,8 +344,7 @@ class ArtworkSelectorController: NSWindowController, NSCollectionViewDataSource,
}
if imageBrowser.selectionIndexPaths.count == 0 {
let indexPath = IndexPath(item: 0, section: 0)
imageBrowser.selectItems(at: [indexPath], scrollPosition: .top)
selectArtwork(at: 0)
}
}