mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-30 23:48:44 +03:00
Update MainFrame.cpp
This commit is contained in:
@@ -2115,7 +2115,8 @@ void MainFrame::select_tab(size_t tab/* = size_t(-1)*/)
|
|||||||
wxString host = pp.config.opt_string("print_host");
|
wxString host = pp.config.opt_string("print_host");
|
||||||
if (host.empty()) {
|
if (host.empty()) {
|
||||||
tem_host = "";
|
tem_host = "";
|
||||||
host = wxString::Format("file://%s/web/qidi/missing_connection.html", from_u8(resources_dir()));
|
host = wxString::Format("file://%s/web/qidi/missing_connection.html", from_u8(resources_dir()));
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
if (!host.Lower().starts_with("http"))
|
if (!host.Lower().starts_with("http"))
|
||||||
host = wxString::Format("http://%s", host);
|
host = wxString::Format("http://%s", host);
|
||||||
|
|||||||
Reference in New Issue
Block a user