mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 12:16:42 +00:00
This commit is contained in:
commit
bdafc3d45e
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -5,7 +5,7 @@ on:
|
||||
types: [created]
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- '**.yml'
|
||||
|
@ -39,7 +39,7 @@ lv_obj_t* hasp_find_obj_from_parent_id(lv_obj_t* parent, uint8_t objid)
|
||||
for(uint16_t i = 0; i < tabcount; i++) {
|
||||
lv_obj_t* tab = lv_tabview_get_tab(child, i);
|
||||
// LOG_DEBUG(TAG_HASP, "Found tab %i", i);
|
||||
if(tab->user_data.objid && objid == tab->user_data.objid) return tab; /* tab found, return it */
|
||||
if(tab->user_data.id && objid == tab->user_data.id) return tab; /* tab found, return it */
|
||||
|
||||
/* check grandchildren */
|
||||
grandchild = hasp_find_obj_from_parent_id(tab, objid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user