FIX: prevent the condition

jira: [STUDIO-10745] [STUDIO-11082]
Change-Id: I3b0ed2a58a4d873edf2bf92576ceaf2ecdb072d8
This commit is contained in:
xin.zhang 2025-03-22 20:33:24 +08:00 committed by lane.wei
parent af23446648
commit 638585a4fc

View File

@ -426,9 +426,8 @@ void MultiMachinePickPage::refresh_user_device()
std::vector<std::string> subscribe_list;
for (auto it = user_machine.begin(); it != user_machine.end(); ++it) {
if (it->second->m_extder_data.total_extder_count > 1) {
continue;
}
if (it->second->m_extder_data.total_extder_count > 1) { continue; }
if (it->second->printer_type == "O1D") { continue;} /*maybe total_extder_count is not valid, hard codes here. to be moved to printers json*/
DevicePickItem* di = new DevicePickItem(scroll_macine_list, it->second);