mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 04:36:38 +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]
|
types: [created]
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
- '**.yml'
|
- '**.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++) {
|
for(uint16_t i = 0; i < tabcount; i++) {
|
||||||
lv_obj_t* tab = lv_tabview_get_tab(child, i);
|
lv_obj_t* tab = lv_tabview_get_tab(child, i);
|
||||||
// LOG_DEBUG(TAG_HASP, "Found tab %i", 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 */
|
/* check grandchildren */
|
||||||
grandchild = hasp_find_obj_from_parent_id(tab, objid);
|
grandchild = hasp_find_obj_from_parent_id(tab, objid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user