Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/littlevgl/lvgl
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor committed Jan 18, 2020
2 parents 33f5448 + 03b0f7f commit 70a2286
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lv_objx/lv_ddlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,10 @@ static lv_res_t release_handler(lv_obj_t * ddlist)
{
lv_ddlist_ext_t * ext = lv_obj_get_ext_attr(ddlist);

/*Only deal with clickable drop down lists*/
if(!lv_obj_get_click(ddlist))
return LV_RES_OK;

if(ext->opened == 0) { /*Open the list*/
ext->opened = 1;
lv_obj_set_drag(lv_page_get_scrl(ddlist), true);
Expand Down

0 comments on commit 70a2286

Please sign in to comment.