Partial remove of obsolete printer_type

This commit is contained in:
David Kocik 2024-04-19 16:52:47 +02:00
parent 72fa3da675
commit 13a5404c3a

View File

@ -3688,10 +3688,6 @@ bool GUI_App::select_printer_from_connect(const std::string& msg)
model_name = compatible_printers.front();
}
}
// TODO: This should go away when compatible printers gives right information.
if (model_name.empty()) {
model_name = plater()->get_user_account()->get_model_from_json(msg);
}
if (model_name.empty()) {
BOOST_LOG_TRIVIAL(error) << "Failed to select printer from Connect. Printer_model is empty.";
return false;