mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-18 10:32:31 -07:00
Merge branch 'main' into dev/bbl-network-upd
This commit is contained in:
commit
9e304d0743
189 changed files with 5887 additions and 347 deletions
|
|
@ -4067,7 +4067,7 @@ void GUI_App::on_http_error(wxCommandEvent &evt)
|
|||
try {
|
||||
auto evt_str = evt.GetString();
|
||||
if (!evt_str.empty()) {
|
||||
json j = json::parse(evt_str);
|
||||
json j = json::parse(evt_str.utf8_string());
|
||||
if (j.contains("code")) {
|
||||
if (!j["code"].is_null())
|
||||
code = j["code"].get<int>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue