mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00:00
FIX: turn off staffpick by switch
Change-Id: I7ab5c2aa14273a7e7bb2badccdddac22b784f342 (cherry picked from commit b2aa5e32ce61677838621aaedb9ddbe3699bddf7)
This commit is contained in:
@@ -441,6 +441,10 @@ void WebViewPanel::SendDesignStaffpick(NetworkAgent *agent)
|
||||
RunScript(wxString::Format("window.postMessage(%s)", body2));
|
||||
});
|
||||
});
|
||||
} else {
|
||||
std::string body2 = "{\"total\":0, \"hits\":[]}";
|
||||
body2.insert(1, "\"command\": \"modelmall_model_advise_get\", ");
|
||||
RunScript(wxString::Format("window.postMessage(%s)", body2));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user