FIX: the WIFI signal is not refresh

jira: [STUDIO-10185]
Change-Id: I5b68bb487dc13ce32d7af6df72ff4c7cada6137b
This commit is contained in:
xin.zhang 2025-02-06 11:17:32 +08:00 committed by lane.wei
parent eb90f16dd5
commit 3dbe340cf9
1 changed files with 3 additions and 0 deletions

View File

@ -464,6 +464,9 @@ void SideTools::update_status(MachineObject* obj)
if (!obj->is_connected() || obj->is_connecting()) {
m_side_tools->set_current_printer_signal(WifiSignal::NONE);
}
else if (!obj->is_lan_mode_printer() && !obj->is_online()) {
m_side_tools->set_current_printer_signal(WifiSignal::NONE);/*STUDIO-10185*/
}
else {
if (obj->network_wired) {
m_side_tools->set_current_printer_signal(WifiSignal::WIRED);