mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
Fix crash when dismissing print error dialog
This commit is contained in:
@@ -1974,7 +1974,7 @@ int MachineObject::command_clean_print_error_uiop(int print_error)
|
||||
::sprintf(buf, "%08X", print_error);
|
||||
j["system"]["err"] = std::string(buf);
|
||||
|
||||
return this->publish_json(j);
|
||||
return this->publish_json(j.dump());
|
||||
}
|
||||
|
||||
int MachineObject::command_upgrade_confirm()
|
||||
|
||||
Reference in New Issue
Block a user