Fix issue with inactive list buttons activating
Fixed a problem where a button in inactive state was activated when another button was pressed in the list, and the list was in single mode
@@ -1007,6 +1007,7 @@ static void lv_list_btn_single_select(lv_obj_t * btn)
if(e == btn) {
lv_btn_set_state(e, LV_BTN_STATE_TGL_REL);
} else {
+ if (lv_btn_get_state(e) != LV_BTN_STATE_INA)
lv_btn_set_state(e, LV_BTN_STATE_REL);
}
e = lv_list_get_next_btn(list, e);
