mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Select first printer for 3rd vendor.
+ fixed typo in output message
This commit is contained in:
parent
1392609c75
commit
d8b5f2950d
2 changed files with 5 additions and 2 deletions
|
@ -1702,6 +1702,9 @@ void ConfigWizard::priv::on_3rdparty_install(const VendorProfile *vendor, bool i
|
||||||
if (page->install && !install)
|
if (page->install && !install)
|
||||||
page->select_all(false);
|
page->select_all(false);
|
||||||
page->install = install;
|
page->install = install;
|
||||||
|
// if some 3rd vendor is selected, select first printer for them
|
||||||
|
if (install)
|
||||||
|
page->printer_pickers[0]->select_one(0, true);
|
||||||
page->Layout();
|
page->Layout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2020,7 +2023,7 @@ ConfigWizard::ConfigWizard(wxWindow *parent)
|
||||||
p->add_page(p->page_temps = new PageTemperatures(this));
|
p->add_page(p->page_temps = new PageTemperatures(this));
|
||||||
|
|
||||||
// Pages for 3rd party vendors
|
// Pages for 3rd party vendors
|
||||||
p->create_3rdparty_pages(); // Needs to ne done _before_ creating PageVendors
|
p->create_3rdparty_pages(); // Needs to be done _before_ creating PageVendors
|
||||||
p->add_page(p->page_vendors = new PageVendors(this));
|
p->add_page(p->page_vendors = new PageVendors(this));
|
||||||
|
|
||||||
p->load_pages();
|
p->load_pages();
|
||||||
|
|
|
@ -4669,7 +4669,7 @@ void Plater::remove(size_t obj_idx) { p->remove(obj_idx); }
|
||||||
void Plater::reset() { p->reset(); }
|
void Plater::reset() { p->reset(); }
|
||||||
void Plater::reset_with_confirm()
|
void Plater::reset_with_confirm()
|
||||||
{
|
{
|
||||||
if (wxMessageDialog((wxWindow*)this, _(L("All objects will be removed, continue ?")), wxString(SLIC3R_APP_NAME) + " - " + _(L("Delete all")), wxYES_NO | wxCANCEL | wxYES_DEFAULT | wxCENTRE).ShowModal() == wxID_YES)
|
if (wxMessageDialog((wxWindow*)this, _(L("All objects will be removed, continue?")), wxString(SLIC3R_APP_NAME) + " - " + _(L("Delete all")), wxYES_NO | wxCANCEL | wxYES_DEFAULT | wxCENTRE).ShowModal() == wxID_YES)
|
||||||
reset();
|
reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue