Commit 192fa964 authored by Albert Shih's avatar Albert Shih
Browse files

mlv_play: prevent closing of menu when it should stay open (for delete confirmation)

--HG--
branch : mlv_play
parent 9c1c38c44009
......@@ -783,9 +783,12 @@ static void mlv_play_osd_task(void *priv)
case MLV_PLAY_MENU_FADEIN:
{
if(key == MODULE_KEY_Q || key == MODULE_KEY_PICSTYLE)
{
if (!mlv_play_osd_force_redraw)
{
mlv_play_osd_state = MLV_PLAY_MENU_FADEOUT;
}
}
else
{
mlv_play_osd_handle(key);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment