Improve:Can not show delete comfirm screen when no file.
This commit is contained in:
parent
9741bf7716
commit
cc78dae655
|
@ -2023,15 +2023,25 @@ static void UIFlowPlay_Key(lv_obj_t* obj, uint32_t key)
|
|||
break;
|
||||
}
|
||||
case LV_USER_KEY_LEFT:
|
||||
{
|
||||
UINT32 uiFileSeq;
|
||||
PB_GetParam(PBPRMID_CURR_FILESEQ, &uiFileSeq);
|
||||
if (0 != uiFileSeq)
|
||||
{
|
||||
stop_play();
|
||||
UIFlowPlay_OnKeyUp(obj);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LV_USER_KEY_RIGHT:
|
||||
{
|
||||
UINT32 uiFileSeq;
|
||||
PB_GetParam(PBPRMID_CURR_FILESEQ, &uiFileSeq);
|
||||
if (0 != uiFileSeq)
|
||||
{
|
||||
stop_play();
|
||||
UIFlowPlay_OnKeyDown(obj);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -2044,6 +2054,10 @@ static void UIFlowPlay_Key(lv_obj_t* obj, uint32_t key)
|
|||
}
|
||||
case LV_USER_KEY_DOWN:
|
||||
case LV_USER_KEY_NEXT:
|
||||
{
|
||||
UINT32 uiFileSeq;
|
||||
PB_GetParam(PBPRMID_CURR_FILESEQ, &uiFileSeq);
|
||||
if (0 != uiFileSeq)
|
||||
{
|
||||
stop_play();
|
||||
UIFlowMenuCommonConfirmAPI_Open(IDM_DELETE_THIS);
|
||||
|
@ -2051,7 +2065,8 @@ static void UIFlowPlay_Key(lv_obj_t* obj, uint32_t key)
|
|||
UIFlowPlay_OnKeyNext(obj);
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case LV_USER_KEY_ZOOMIN:
|
||||
{
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user