summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index b97041c099..d59101f937 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -59,6 +59,7 @@
59#include "misc.h" 59#include "misc.h"
60#include "filetree.h" 60#include "filetree.h"
61#include "dbtree.h" 61#include "dbtree.h"
62#include "recorder/recording.h"
62 63
63#ifdef HAVE_LCD_BITMAP 64#ifdef HAVE_LCD_BITMAP
64#include "widgets.h" 65#include "widgets.h"
@@ -641,9 +642,22 @@ static bool dirbrowse(void)
641 lastextra = -1; 642 lastextra = -1;
642 lastfirstpos = 0; 643 lastfirstpos = 0;
643 644
644 if (*tc.dirfilter < NUM_FILTER_MODES) 645 if (*tc.dirfilter < NUM_FILTER_MODES) {
645 start_resume(true); 646 start_resume(true);
646 647
648#ifdef HAVE_RECORDING
649#ifndef SIMULATOR
650 if (global_settings.rec_startup && ! start_wps) {
651 /* We fake being in the menu structure by calling the appropriate */
652 /* parent when we drop out of each screen */
653 recording_screen();
654 rec_menu();
655 main_menu();
656 }
657#endif
658#endif
659 }
660
647 if (!start_wps) { 661 if (!start_wps) {
648 numentries = showdir(); 662 numentries = showdir();
649 if (numentries == -1) 663 if (numentries == -1)