mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: the order of cans in AMSLite
jira: STUDIO-7765, STUDIO-7766, STUDIO-7767, STUDIO-7721, STUDIO-7713 Change-Id: If95e0667fc1d615c0494b007f7f7408f68e5b21c (cherry picked from commit 9b510c0aeb4e9b8f26c285e1f6d5402852be1895)
This commit is contained in:
@@ -3862,7 +3862,11 @@ void StatusPanel::on_ams_refresh_rfid(wxCommandEvent &event)
|
||||
return;
|
||||
}
|
||||
|
||||
std::string curr_ams_id = m_ams_control->GetCurentAms();
|
||||
//std::string curr_ams_id = m_ams_control->GetCurentAms();
|
||||
if (event.GetInt() < 0 || event.GetInt() > VIRTUAL_TRAY_MAIN_ID){
|
||||
return;
|
||||
}
|
||||
std::string curr_ams_id = std::to_string(event.GetInt());
|
||||
// do not support refresh rfid for VIRTUAL_TRAY_MAIN_ID
|
||||
if (curr_ams_id.compare(std::to_string(VIRTUAL_TRAY_MAIN_ID)) == 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user