forked from len0rd/rockbox
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
This commit is contained in:
parent
2d4bf62032
commit
fe73d75e74
1 changed files with 5 additions and 0 deletions
|
@ -824,6 +824,11 @@ enum playlist_viewer_result playlist_viewer_ex(const char* filename)
|
|||
viewer.selected_track = viewer.num_tracks-1;
|
||||
dirty = true;
|
||||
}
|
||||
/* the show_icons option in the playlist viewer settings
|
||||
* menu might have changed */
|
||||
gui_synclist_set_icon_callback(&playlist_lists,
|
||||
global_settings.playlist_viewer_icons?
|
||||
&playlist_callback_icons:NULL);
|
||||
gui_synclist_draw(&playlist_lists);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue