mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: add switching status panel
jira: [STUDIO-10272] Change-Id: I0bf0c45a3176d132d246908255f1984b50fe75f9 (cherry picked from commit 3085175fc6606b559b2719b53f2fc195aa0f6260)
This commit is contained in:
@@ -2185,7 +2185,7 @@ int MachineObject::command_ams_select_tray(std::string tray_id)
|
||||
int MachineObject::command_ams_control(std::string action)
|
||||
{
|
||||
//valid actions
|
||||
if (action == "resume" || action == "reset" || action == "pause" || action == "done") {
|
||||
if (action == "resume" || action == "reset" || action == "pause" || action == "done" || action == "abort") {
|
||||
json j;
|
||||
j["print"]["command"] = "ams_control";
|
||||
j["print"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
|
||||
|
||||
Reference in New Issue
Block a user