summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c6
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)
#endif
default:
default_event_handler(button);
- stop = true;
+ if (button & BUTTON_REL)
+ stop = true;
break;
}
}
@@ -836,7 +837,8 @@ static bool dirbrowse(const char *root, const int *dirfilter)
default:
default_event_handler(button);
- stop = true;
+ if (button & BUTTON_REL)
+ stop = true;
break;
}
}