FIX:restore the function of the unload button
Change-Id: Ia60bf73f12a7e60b55ef2814a3783a9ca87ca9a0
This commit is contained in:
parent
a246e003da
commit
11a12e8351
|
@ -1761,7 +1761,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();
|
||||
|
@ -1771,7 +1771,7 @@ void StatusPanel::update_misc_ctrl(MachineObject *obj)
|
|||
m_button_unload->Hide();
|
||||
m_button_unload->GetParent()->Layout();
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
// update extruder icon
|
||||
update_extruder_status(obj);
|
||||
|
|
Loading…
Reference in New Issue