mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
ENH: if nothing selected then disable aplly btn && update plate index parse
Jira: [STUDIO-13299] Change-Id: I1ce7271d005f7fec4d71ece9db13916a9fcc1e1d (cherry picked from commit b2386964814dee68a1936da912eea339f5317ddc)
This commit is contained in:
@@ -2988,7 +2988,7 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (j_pre["print"].contains("plate_idx") && m_plate_index == -1){
|
||||
if (j_pre["print"].contains("plate_idx")){ // && m_plate_index == -1
|
||||
m_plate_index = j_pre["print"]["plate_idx"].get<int>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user