Fix System.ArgumentOutOfRangeException

Fixes #492
This commit is contained in:
Stefan authored and GitHub committed 2020-02-08 18:16:31 +01:00
1 parent bb56171b22
commit 8c94df3093
1 file changed
+4 -1
+4 -1
View File
@@ -224,7 +224,10 @@ namespace VocaluxeLib.Menu
_SongMode = _SelectSlides[_SelectSlideSongMode].Selection;
_Source = _SelectSlides[_SelectSlideSource].Selection;
NumMedleySongs = NumMinMedleySongs + _SelectSlides[_SelectSlideNumMedleySongs].Selection;
Playlist = _PlaylistIDs[_SelectSlides[_SelectSlidePlaylist].Selection];
if (_SelectSlides[_SelectSlidePlaylist].Selection >= 0)
Playlist = _PlaylistIDs[_SelectSlides[_SelectSlidePlaylist].Selection];
else
Playlist = -1;
if (_SelectSlides[_SelectSlideSorting].Selection != _Sorting)
{