mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 18:42:24 +00:00
Add support for PrusaLink webview
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user