diff options
-rw-r--r-- | apps/tree.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c index 0116f8a55d..24034fe45b 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -643,7 +643,8 @@ static bool ask_resume(bool ask_once) | |||
643 | #endif | 643 | #endif |
644 | default: | 644 | default: |
645 | default_event_handler(button); | 645 | default_event_handler(button); |
646 | stop = true; | 646 | if (button & BUTTON_REL) |
647 | stop = true; | ||
647 | break; | 648 | break; |
648 | } | 649 | } |
649 | } | 650 | } |
@@ -836,7 +837,8 @@ static bool dirbrowse(const char *root, const int *dirfilter) | |||
836 | 837 | ||
837 | default: | 838 | default: |
838 | default_event_handler(button); | 839 | default_event_handler(button); |
839 | stop = true; | 840 | if (button & BUTTON_REL) |
841 | stop = true; | ||
840 | break; | 842 | break; |
841 | } | 843 | } |
842 | } | 844 | } |