mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Clean page 0 when Clear Pages is pressed in the editor
This commit is contained in:
parent
527f2c4984
commit
7983e8a0d7
@ -26,6 +26,7 @@ uint8_t Page::count()
|
||||
void Page::init(uint8_t start_page)
|
||||
{
|
||||
lv_obj_t* scr_act = lv_scr_act();
|
||||
lv_obj_clean(lv_layer_top());
|
||||
|
||||
for(int i = 0; i < count(); i++) {
|
||||
lv_obj_t* prev_page_obj = _pages[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user