mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-30 23:48:44 +03:00
Update PrinterWebView.cpp
This commit is contained in:
@@ -570,9 +570,10 @@ void PrinterWebView::OnAddButtonClick(wxCommandEvent &event)
|
|||||||
formattedHost = wxString::Format("%s:10088", formattedHost);
|
formattedHost = wxString::Format("%s:10088", formattedHost);
|
||||||
}
|
}
|
||||||
UnSelectedButton();
|
UnSelectedButton();
|
||||||
|
//B60
|
||||||
if (isValidIPAddress)
|
if (isValidIPAddress)
|
||||||
AddButton(
|
AddButton(
|
||||||
printer_name, host,model_id, fullname, true, (host_type == htMoonraker), cfg_t);
|
printer_name, host,model_id, wxString::FromUTF8(fullname), true, (host_type == htMoonraker), cfg_t);
|
||||||
load_url(formattedHost);
|
load_url(formattedHost);
|
||||||
UpdateLayout();
|
UpdateLayout();
|
||||||
Refresh();
|
Refresh();
|
||||||
|
|||||||
Reference in New Issue
Block a user