Suppressed a check of printer_presets for the containing information about "Print Host upload", when presets ate exported from the amf/3mf

This commit is contained in:
YuSanka 2020-12-03 13:24:55 +01:00
parent 3dd9b8c718
commit 6124f677ae
3 changed files with 6 additions and 4 deletions

View file

@ -1710,11 +1710,12 @@ bool GUI_App::checked_tab(Tab* tab)
}
// Update UI / Tabs to reflect changes in the currently loaded presets
void GUI_App::load_current_presets()
void GUI_App::load_current_presets(bool check_printer_presets_ /*= true*/)
{
// check printer_presets for the containing information about "Print Host upload"
// and create physical printer from it, if any exists
check_printer_presets();
if (check_printer_presets_)
check_printer_presets();
PrinterTechnology printer_technology = preset_bundle->printers.get_edited_preset().printer_technology();
this->plater()->set_printer_technology(printer_technology);