tabview: fix unwanted sending of tab change action on page click

This commit is contained in:
Gabor Kiss-Vamosi
2018-06-16 13:03:32 +02:00
parent 1cf5d5db9e
commit 31b3a2a350

View File

@@ -691,7 +691,7 @@ static void tabpage_press_lost_handler(lv_obj_t * tabview, lv_obj_t * tabpage)
if(tab_cur < ext->tab_cnt - 1) tab_cur++; if(tab_cur < ext->tab_cnt - 1) tab_cur++;
} }
lv_tabview_set_tab_act(tabview, tab_cur, true); if(tab_cur != ext->tab_cur) lv_tabview_set_tab_act(tabview, tab_cur, true);
} }
/** /**