summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tree.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 48de4a64aa..1a92dfd3a9 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -868,6 +868,10 @@ static bool dirbrowse(const char *root, const int *dirfilter)
868 868
869 button = button_get_w_tmo(HZ/5); 869 button = button_get_w_tmo(HZ/5);
870 870
871 /* ignore leftover release event */
872 if (!lastbutton && (button & BUTTON_REL))
873 continue;
874
871#ifndef SIMULATOR 875#ifndef SIMULATOR
872 if (boot_changed) { 876 if (boot_changed) {
873 bool stop = false; 877 bool stop = false;