diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 4 |
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) | |||
1384 | #endif | 1384 | #endif |
1385 | 1385 | ||
1386 | case TREE_MENU: | 1386 | case TREE_MENU: |
1387 | #ifdef TREE_MENU_PRE | ||
1388 | if (lastbutton != TREE_MENU_PRE) | ||
1389 | break; | ||
1390 | #endif | ||
1387 | if (*dirfilter < NUM_FILTER_MODES) | 1391 | if (*dirfilter < NUM_FILTER_MODES) |
1388 | { | 1392 | { |
1389 | lcd_stop_scroll(); | 1393 | lcd_stop_scroll(); |