From 994a2c3fdd481e1d2e825431a76bbfb8eb50ce10 Mon Sep 17 00:00:00 2001 From: "xin.zhang" Date: Mon, 14 Apr 2025 16:25:55 +0800 Subject: [PATCH] FIX: do not hide the cancel if there are errors jira: [STUDIO-11564] Change-Id: I16f4de119a1da0bd618ae7f60d2f4b42bc249386 --- src/slic3r/GUI/BBLStatusBarPrint.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/BBLStatusBarPrint.cpp b/src/slic3r/GUI/BBLStatusBarPrint.cpp index 7bd400cb0..6d1c40a7a 100644 --- a/src/slic3r/GUI/BBLStatusBarPrint.cpp +++ b/src/slic3r/GUI/BBLStatusBarPrint.cpp @@ -177,7 +177,9 @@ void BBLStatusBarPrint::set_range(int val) void BBLStatusBarPrint::clear_percent() { //set_percent_text(wxEmptyString); - m_cancelbutton->Hide(); + if (!m_link_show_error->IsShown()) /*do not hide cancel if there are errors*/ { + m_cancelbutton->Hide(); + } } void BBLStatusBarPrint::show_error_info(wxString msg, int code, wxString description, wxString extra)