adding returns to case statements to stop processing
This commit is contained in:
parent
fd7ac5f398
commit
4f10f53ff5
1 changed files with 2 additions and 0 deletions
|
@ -582,6 +582,7 @@ Item {
|
|||
type, image.filePath,
|
||||
"image", "", "",
|
||||
"", 0, 0);
|
||||
return;
|
||||
}
|
||||
case 'video': {
|
||||
const video = videoProxyModel.getVideo(itemID);
|
||||
|
@ -590,6 +591,7 @@ Item {
|
|||
type, video.filePath,
|
||||
"video", "", "",
|
||||
"", 0, 0);
|
||||
return;
|
||||
}
|
||||
case 'song': {
|
||||
const lyrics = songProxyModel.getLyricList(itemID);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue