Fix for backPress on subtitle selection

This commit is contained in:
thomabx 2020-03-29 07:56:48 -07:00
parent eb11d837df
commit 66ec80181a

View File

@ -2,7 +2,7 @@ function selectSubtitleTrack(tracks, current = -1)
video = m.scene.focusedChild
trackSelected = selectSubtitleTrackDialog(video.Subtitles, video.SelectedSubtitle)
if trackSelected = -1 then
return -1
return invalid
else
return trackSelected - 1
end if