summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-05-01 19:13:47 +0000
committerJens Arnold <amiconn@rockbox.org>2005-05-01 19:13:47 +0000
commitd6587f9b318342efcce0770df636619e43b98bc5 (patch)
tree870de46b501f8085eecf897f98d046ec52073010
parent484285200ac5fa29fda675bc22557c0331866ee7 (diff)
downloadrockbox-d6587f9b318342efcce0770df636619e43b98bc5.zip
rockbox-d6587f9b318342efcce0770df636619e43b98bc5.tar.gz
rockbox-d6587f9b318342efcce0770df636619e43b98bc5.tar.bz2
rockbox-d6587f9b318342efcce0770df636619e43b98bc5.tar.xz
Bugfix: Only mangle the current playlist when the shuffle setting is changed (from menu) when the music is playing. This behaviour was already present in the recorder's F2 quickscreen, and doing otherwise isn't intuitive.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6391 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 2ece3a0..4323cd2 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -1047,7 +1047,8 @@ static bool playback_settings_menu(void)
result = menu_run(m);
menu_exit(m);
- if (old_shuffle != global_settings.playlist_shuffle)
+ if ((old_shuffle != global_settings.playlist_shuffle)
+ && (audio_status() & AUDIO_STATUS_PLAY))
{
if (global_settings.playlist_shuffle)
{