forked from len0rd/rockbox
playlist catalogue (etc.): prune context menu
"Create Directory" option not applicable in browse filter modes, since directories do not get displayed Change-Id: I68944264b03115f7f94254d9df766e5584d30e5a
This commit is contained in:
parent
507fa214a8
commit
bcd34cfaa7
1 changed files with 2 additions and 2 deletions
|
@ -1442,9 +1442,9 @@ static int clipboard_callback(int action,
|
||||||
return (clipboard.path[0] != 0) ?
|
return (clipboard.path[0] != 0) ?
|
||||||
action : ACTION_EXIT_MENUITEM;
|
action : ACTION_EXIT_MENUITEM;
|
||||||
}
|
}
|
||||||
else if (this_item == &create_dir_item)
|
else if (this_item == &create_dir_item &&
|
||||||
|
*tree_get_context()->dirfilter <= NUM_FILTER_MODES)
|
||||||
{
|
{
|
||||||
/* always visible */
|
|
||||||
return action;
|
return action;
|
||||||
}
|
}
|
||||||
else if (selected_file)
|
else if (selected_file)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue