mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 21:55:10 -05:00
Don't accept press events as dialog answer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5177 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
25c0d3ace9
commit
e2041da713
1 changed files with 4 additions and 2 deletions
|
|
@ -643,7 +643,8 @@ static bool ask_resume(bool ask_once)
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
default_event_handler(button);
|
default_event_handler(button);
|
||||||
stop = true;
|
if (button & BUTTON_REL)
|
||||||
|
stop = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -836,7 +837,8 @@ static bool dirbrowse(const char *root, const int *dirfilter)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
default_event_handler(button);
|
default_event_handler(button);
|
||||||
stop = true;
|
if (button & BUTTON_REL)
|
||||||
|
stop = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue