From 11a12e835162e175ecd8e9f8e1d56d4c5bd51b04 Mon Sep 17 00:00:00 2001 From: tao wang Date: Thu, 16 Feb 2023 17:13:57 +0800 Subject: [PATCH] FIX:restore the function of the unload button Change-Id: Ia60bf73f12a7e60b55ef2814a3783a9ca87ca9a0 --- 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 e2ff3b4f5..6e3360cba 100644 --- a/src/slic3r/GUI/StatusPanel.cpp +++ b/src/slic3r/GUI/StatusPanel.cpp @@ -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);