summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/onplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 2a2ac16b04..572138e583 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -1442,9 +1442,9 @@ static int clipboard_callback(int action,
1442 return (clipboard.path[0] != 0) ? 1442 return (clipboard.path[0] != 0) ?
1443 action : ACTION_EXIT_MENUITEM; 1443 action : ACTION_EXIT_MENUITEM;
1444 } 1444 }
1445 else if (this_item == &create_dir_item) 1445 else if (this_item == &create_dir_item &&
1446 *tree_get_context()->dirfilter <= NUM_FILTER_MODES)
1446 { 1447 {
1447 /* always visible */
1448 return action; 1448 return action;
1449 } 1449 }
1450 else if (selected_file) 1450 else if (selected_file)