From 0ecf7c8265c73e7c1e51a36b1e43165749464bd8 Mon Sep 17 00:00:00 2001 From: tao wang Date: Mon, 30 Jan 2023 17:09:11 +0800 Subject: [PATCH] ENH:no longer hide the unload button when connected to AMS Change-Id: I62c7195d590827bd189c6e6886e95c2cf755e203 --- src/slic3r/GUI/StatusPanel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/StatusPanel.cpp b/src/slic3r/GUI/StatusPanel.cpp index c66129362..bc54eb242 100644 --- a/src/slic3r/GUI/StatusPanel.cpp +++ b/src/slic3r/GUI/StatusPanel.cpp @@ -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);