mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
Add support for PrusaLink webview
This commit is contained in:
parent
4564945b48
commit
80082464cb
6 changed files with 71 additions and 20 deletions
|
@ -1067,7 +1067,10 @@ void Sidebar::update_all_preset_comboboxes()
|
|||
if(!url.Lower().starts_with("http"))
|
||||
url = wxString::Format("http://%s",url);
|
||||
|
||||
p_mainframe->load_printer_url(url);
|
||||
wxString apikey;
|
||||
if (cfg.has("printhost_apikey"))
|
||||
apikey = cfg.opt_string("printhost_apikey");
|
||||
p_mainframe->load_printer_url(url, apikey);
|
||||
}
|
||||
|
||||
m_bed_type_list->SelectAndNotify(btPEI-1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue