mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-29 01:27:38 +08:00
PhysicalPrinterDialog: Fixed editing of the SLA physical printers
Bug repro: 1. Create sla physical printer. 2. Close dialog. 3. Open dialog to edit printer -> in preset combobox is selected fff printer preset
This commit is contained in:
parent
32c60b070e
commit
9bb0848d27
@ -189,10 +189,10 @@ PhysicalPrinterDialog::PhysicalPrinterDialog(wxWindow* parent, wxString printer_
|
||||
}
|
||||
else
|
||||
{
|
||||
m_printer = *printer;
|
||||
const std::set<std::string>& preset_names = printer->get_preset_names();
|
||||
for (const std::string& preset_name : preset_names)
|
||||
m_presets.emplace_back(new PresetForPrinter(this, preset_name));
|
||||
m_printer = *printer;
|
||||
}
|
||||
|
||||
if (m_presets.size() == 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user