PhysicalPrinterCollection: Use select_preset() instead of select_preset_by_name()

+ changed signature for select_preset()
This commit is contained in:
YuSanka 2020-07-23 12:17:18 +02:00
parent 299b783601
commit a4c12b90f1
5 changed files with 23 additions and 30 deletions

View file

@ -436,7 +436,7 @@ void PresetBundle::load_selections(AppConfig &config, const std::string &preferr
// Activate physical printer from the config
if (!initial_physical_printer_name.empty())
physical_printers.select_printer_by_name(initial_physical_printer_name);
physical_printers.select_printer(initial_physical_printer_name);
}
// Export selections (current print, current filaments, current printer) into config.ini