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) button = button_get_w_tmo(HZ/5); + /* ignore leftover release event */ + if (!lastbutton && (button & BUTTON_REL)) + continue; + #ifndef SIMULATOR if (boot_changed) { bool stop = false;