[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:
William Wilgus 2025-01-13 02:36:20 -05:00
parent c8ba67fa7d
commit ab9b687607

View file

@ -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";