ENH:no longer hide the unload button when connected to AMS

Change-Id: I62c7195d590827bd189c6e6886e95c2cf755e203
This commit is contained in:
tao wang 2023-01-30 17:09:11 +08:00 committed by Lane.Wei
parent 150ed6a2d5
commit 0ecf7c8265
1 changed files with 2 additions and 2 deletions

View File

@ -1765,7 +1765,7 @@ void StatusPanel::update_misc_ctrl(MachineObject *obj)
{
if (!obj) return;
if (obj->can_unload_filament()) {
/*if (obj->can_unload_filament()) {
if (!m_button_unload->IsShown()) {
m_button_unload->Show();
m_button_unload->GetParent()->Layout();
@ -1775,7 +1775,7 @@ void StatusPanel::update_misc_ctrl(MachineObject *obj)
m_button_unload->Hide();
m_button_unload->GetParent()->Layout();
}
}
}*/
// update extruder icon
update_extruder_status(obj);