summaryrefslogtreecommitdiffstats
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 71af90f017..2d82e518e2 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1384,6 +1384,10 @@ static bool dirbrowse(const char *root, const int *dirfilter)
#endif
case TREE_MENU:
+#ifdef TREE_MENU_PRE
+ if (lastbutton != TREE_MENU_PRE)
+ break;
+#endif
if (*dirfilter < NUM_FILTER_MODES)
{
lcd_stop_scroll();