FIX: [STUDIO-3121] load ams color erase ff alpha

Change-Id: Id6984e3a159bfea0bb644c77c993e7a71eb8f149
This commit is contained in:
chunmao.guo 2023-06-07 17:58:38 +08:00 committed by Lane.Wei
parent 9c251c59ec
commit f2b8604088
3 changed files with 10 additions and 7 deletions

View file

@ -1875,6 +1875,7 @@ void GUI_App::init_networking_callbacks()
obj->is_tunnel_mqtt = tunnel;
obj->command_request_push_all();
obj->command_get_version();
GUI::wxGetApp().sidebar().load_ams_list(obj->dev_id, obj);
}
});
});
@ -1907,6 +1908,7 @@ void GUI_App::init_networking_callbacks()
obj->command_get_version();
event.SetInt(0);
event.SetString(obj->dev_id);
GUI::wxGetApp().sidebar().load_ams_list(obj->dev_id, obj);
} else if (state == ConnectStatus::ConnectStatusFailed) {
obj->set_access_code("");
obj->erase_user_access_code();