Fix artwork first selection if the preferred artwork type is not available.
This commit is contained in:
1 file changed
+1
-2
@@ -344,8 +344,7 @@ class ArtworkSelectorController: NSWindowController, NSCollectionViewDataSource,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if imageBrowser.selectionIndexPaths.count == 0 {
|
if imageBrowser.selectionIndexPaths.count == 0 {
|
||||||
let indexPath = IndexPath(item: 0, section: 0)
|
selectArtwork(at: 0)
|
||||||
imageBrowser.selectItems(at: [indexPath], scrollPosition: .top)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user