mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
[BugFix] lastfm_scrobbler_viewer block search for non scrobbler logs
the scrobbler viewer will view any .log file but search and include column only works with defined headers it ends up showing a blank result so block this menu for non scrobbler logs Change-Id: Ifc04dcab52d4416271388bee7d0cb10a144636a4
This commit is contained in:
parent
c8ba67fa7d
commit
ab9b687607
1 changed files with 3 additions and 0 deletions
|
@ -730,6 +730,9 @@ static int scrobbler_context_menu(struct printcell_data_t *pc_data)
|
||||||
menu_item[2]= "Include";
|
menu_item[2]= "Include";
|
||||||
menu_item[3]= "Custom Filter";
|
menu_item[3]= "Custom Filter";
|
||||||
|
|
||||||
|
if (pc_data->view_columns < SCROBBLER_MIN_COLUMNS)
|
||||||
|
col = -1;
|
||||||
|
|
||||||
if (col == -1)
|
if (col == -1)
|
||||||
{
|
{
|
||||||
menu_item[0]= hide_col ? "Hide All":"Show All";
|
menu_item[0]= hide_col ? "Hide All":"Show All";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue