ENH:handling cases without msgs
jira:[STUDIO-5401 STUDIO-5399] Change-Id: Iae651d5a19a45b0138a6aa621326a8b4a9649824
This commit is contained in:
parent
83407370eb
commit
a1fb7625ed
|
@ -2729,6 +2729,11 @@ int MachineObject::parse_json(std::string payload)
|
|||
BOOST_LOG_TRIVIAL(warning) << "unsupported msg_type=" << j_pre["print"]["msg"].get<std::string>();
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!printer_type.empty() && connection_type() == "lan")
|
||||
print_json.load_compatible_settings(printer_type, "");
|
||||
print_json.diff2all_base_reset(j_pre);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue