lv_group_remove_obj: fix when delete the last object from the group

This commit is contained in:
Gabor Kiss-Vamosi
2018-06-17 16:43:28 +02:00
parent 31b3a2a350
commit 4ac1c29ca9
3 changed files with 14 additions and 3 deletions

View File

@@ -367,6 +367,8 @@ static void indev_keypad_proc(lv_indev_t * i, lv_indev_data_t * data)
lv_group_send_data(i->group, data->key);
}
if(i->proc.reset_query) return; /*The object might be deleted in `focus_cb` or due to any other user event*/
i->proc.pr_timestamp = 0;
i->proc.long_pr_sent = 0;
}