mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH: remove Remove unnecessary restrictions when Load or Unload
JIRA: [STUDIO-14269] Change-Id: I1663f664d7e3248fa3be29f6040247c0ab3b03c4 (cherry picked from commit 79689556eb247240cf57323706411d3d9f6116a5)
This commit is contained in:
@@ -1605,7 +1605,6 @@ void AMSControl::on_filament_load(wxCommandEvent &event)
|
||||
return;
|
||||
}
|
||||
|
||||
m_button_extruder_back->Disable();
|
||||
for (auto i = 0; i < m_ams_info.size(); i++) {
|
||||
if (m_ams_info[i].ams_id == m_current_ams) { m_ams_info[i].current_action = AMSAction::AMS_ACTION_LOAD; }
|
||||
}
|
||||
@@ -1622,7 +1621,6 @@ void AMSControl::on_extrusion_cali(wxCommandEvent &event)
|
||||
|
||||
void AMSControl::on_filament_unload(wxCommandEvent &event)
|
||||
{
|
||||
m_button_extruder_feed->Disable();
|
||||
for (auto i = 0; i < m_ams_info.size(); i++) {
|
||||
if (m_ams_info[i].ams_id == m_current_ams) { m_ams_info[i].current_action = AMSAction::AMS_ACTION_UNLOAD; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user