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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue