diff options
author | YuSanka <yusanka@gmail.com> | 2020-12-03 15:24:55 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2020-12-03 15:25:23 +0300 |
commit | 6124f677aea5442571ae5ba357ad684e1a45cbcb (patch) | |
tree | f5244ff8bbc326d9e4aa2405c90582eb3765d08b /src/slic3r/GUI/GUI_App.cpp | |
parent | 3dd9b8c718c22e4ee7a000341b6d6c72b23df206 (diff) |
Suppressed a check of printer_presets for the containing information about "Print Host upload", when presets ate exported from the amf/3mf
Diffstat (limited to 'src/slic3r/GUI/GUI_App.cpp')
-rw-r--r-- | src/slic3r/GUI/GUI_App.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 8c97471b2..2be866ce7 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -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); |