mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 12:15:53 +08:00
Fix for #13058 - PrusaSlicer 2.8.0 configuration wizard auto adds SLA printer
Don't select any printer by default, when single repo is selected.
This commit is contained in:
parent
92d08da96d
commit
5e3240fd76
@ -2877,13 +2877,9 @@ void ConfigWizard::priv::create_vendor_printers_page(const std::string& repo_id,
|
|||||||
// single vendor repository
|
// single vendor repository
|
||||||
if (pageFFF) {
|
if (pageFFF) {
|
||||||
pages_fff.emplace_back(pageFFF);
|
pages_fff.emplace_back(pageFFF);
|
||||||
if (!pageFFF->any_selected())
|
|
||||||
pageFFF->printer_pickers[0]->select_one(0, true);// select first printer for them
|
|
||||||
}
|
}
|
||||||
if (pageSLA) {
|
if (pageSLA) {
|
||||||
pages_msla.emplace_back(pageSLA);
|
pages_msla.emplace_back(pageSLA);
|
||||||
if (!pageSLA->any_selected())
|
|
||||||
pageSLA->printer_pickers[0]->select_one(0, true);// select first printer for them
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (pageFFF || pageSLA)
|
if (pageFFF || pageSLA)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user