mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
FIX:restore the function of the unload button
Change-Id: Ia60bf73f12a7e60b55ef2814a3783a9ca87ca9a0
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user