Commit 273bac1e authored by Jean Felder's avatar Jean Felder Committed by Marinus Schraal

player: Fix _on_repeat_mode_changed

Reset the sort function when the player goes into a linear
mode (RepeatMode.NONE or RepetMode.ALL).
I, RepeatMode.SONG, it does not matter.
parent 55daf930
......@@ -290,7 +290,7 @@ class PlayerPlaylist(GObject.GObject):
if self.props.repeat_mode == RepeatMode.SHUFFLE:
elif self.props.repeat_mode == RepeatMode.NONE:
elif self.props.repeat_mode in [RepeatMode.NONE, RepeatMode.ALL]:
@GObject.Property(type=int, flags=GObject.ParamFlags.READABLE)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment