mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX: turn off staffpick by switch
Change-Id: I7ab5c2aa14273a7e7bb2badccdddac22b784f342 (cherry picked from commit b2aa5e32ce61677838621aaedb9ddbe3699bddf7)
This commit is contained in:
parent
84eb6159aa
commit
4fd8a2b957
2 changed files with 4 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue