Fixed loading current presets

This commit is contained in:
enricoturri1966 2020-09-08 15:30:01 +02:00
parent f6534f5f7a
commit a13b732f27

View file

@ -692,9 +692,9 @@ bool GUI_App::on_init_inner()
// ensure the selected technology is ptFFF // ensure the selected technology is ptFFF
plater_->set_printer_technology(ptFFF); plater_->set_printer_technology(ptFFF);
} }
#else else
load_current_presets();
#endif // ENABLE_GCODE_VIEWER_AS_STANDALONE_APPLICATION #endif // ENABLE_GCODE_VIEWER_AS_STANDALONE_APPLICATION
load_current_presets();
mainframe->Show(true); mainframe->Show(true);
/* Temporary workaround for the correct behavior of the Scrolled sidebar panel: /* Temporary workaround for the correct behavior of the Scrolled sidebar panel: