summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-11 10:49:45 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-11 10:49:45 +0100
commitfe73d75e7485019a6206c4aa7e414a93bc70c05f (patch)
treef6f45aa4c306eabeacb42cc4a1ec6d8ee4a002ed /apps
parent2d4bf62032cf1d793abfbe73942ec050161844c1 (diff)
downloadrockbox-fe73d75e7485019a6206c4aa7e414a93bc70c05f.tar.gz
rockbox-fe73d75e7485019a6206c4aa7e414a93bc70c05f.zip
playlist_viewer: Reset icon callback after leaving the playlist viewer settings.
This fixes that the playlist viewer still shows the icons after changing the playlist viewer specific show_icons value until re-opened. Change-Id: I42f287bcf02b27f0255dc157560c2e6575307eb6
Diffstat (limited to 'apps')
-rw-r--r--apps/playlist_viewer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index 7eed42c137..6a20bf1aac 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -824,6 +824,11 @@ enum playlist_viewer_result playlist_viewer_ex(const char* filename)
824 viewer.selected_track = viewer.num_tracks-1; 824 viewer.selected_track = viewer.num_tracks-1;
825 dirty = true; 825 dirty = true;
826 } 826 }
827 /* the show_icons option in the playlist viewer settings
828 * menu might have changed */
829 gui_synclist_set_icon_callback(&playlist_lists,
830 global_settings.playlist_viewer_icons?
831 &playlist_callback_icons:NULL);
827 gui_synclist_draw(&playlist_lists); 832 gui_synclist_draw(&playlist_lists);
828 break; 833 break;
829 } 834 }