ENH:no longer hide the unload button when connected to AMS
Change-Id: I62c7195d590827bd189c6e6886e95c2cf755e203
This commit is contained in:
parent
150ed6a2d5
commit
0ecf7c8265
|
@ -1765,7 +1765,7 @@ void StatusPanel::update_misc_ctrl(MachineObject *obj)
|
||||||
{
|
{
|
||||||
if (!obj) return;
|
if (!obj) return;
|
||||||
|
|
||||||
if (obj->can_unload_filament()) {
|
/*if (obj->can_unload_filament()) {
|
||||||
if (!m_button_unload->IsShown()) {
|
if (!m_button_unload->IsShown()) {
|
||||||
m_button_unload->Show();
|
m_button_unload->Show();
|
||||||
m_button_unload->GetParent()->Layout();
|
m_button_unload->GetParent()->Layout();
|
||||||
|
@ -1775,7 +1775,7 @@ void StatusPanel::update_misc_ctrl(MachineObject *obj)
|
||||||
m_button_unload->Hide();
|
m_button_unload->Hide();
|
||||||
m_button_unload->GetParent()->Layout();
|
m_button_unload->GetParent()->Layout();
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// update extruder icon
|
// update extruder icon
|
||||||
update_extruder_status(obj);
|
update_extruder_status(obj);
|
||||||
|
|
Loading…
Reference in New Issue