summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 46981ed..4134c94 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -683,7 +683,11 @@ static bool dirbrowse(void)
case TREE_RC_MENU:
#endif
#ifdef TREE_MENU_PRE
- if (lastbutton != TREE_MENU_PRE)
+ if (lastbutton != TREE_MENU_PRE
+#ifdef TREE_RC_MENU_PRE
+ && lastbutton != TREE_RC_MENU_PRE
+#endif
+ )
break;
#endif
/* don't enter menu from plugin browser */