Also seek to 0 for other repeat modes with 1 item playlists

This commit is contained in:
Rafostar
2021-05-01 12:15:07 +02:00
parent 0e6507682a
commit 9bb3f999b1

View File

@@ -168,7 +168,7 @@ class ClapperPlaylistWidget extends Gtk.ListBox
* or playlist with only one item */ * or playlist with only one item */
if( if(
this.repeatMode === RepeatMode.TRACK this.repeatMode === RepeatMode.TRACK
|| (this.repeatMode === RepeatMode.PLAYLIST || (this.repeatMode !== RepeatMode.NONE
&& this.activeRowId === 0 && this.activeRowId === 0
&& !this.get_row_at_index(1)) && !this.get_row_at_index(1))
) { ) {