From 688640e808bd1fd9a7752139cbb39975baf45bfd Mon Sep 17 00:00:00 2001 From: "liz.li" Date: Thu, 6 Apr 2023 14:24:09 +0800 Subject: [PATCH] FIX: display '?' on a notification(STUDIO-2199) Change-Id: Id20f287aa1e26571cb416c5f237257418589cf29 --- src/slic3r/GUI/NotificationManager.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/slic3r/GUI/NotificationManager.cpp b/src/slic3r/GUI/NotificationManager.cpp index 46da873b3..12d9f9b6e 100644 --- a/src/slic3r/GUI/NotificationManager.cpp +++ b/src/slic3r/GUI/NotificationManager.cpp @@ -1112,13 +1112,14 @@ void NotificationManager::PrintHostUploadNotification::render_bar(ImGuiWrapper& } void NotificationManager::PrintHostUploadNotification::render_left_sign(ImGuiWrapper& imgui) { - if (m_uj_state == UploadJobState::PB_ERROR) { - std::string text; - text = ImGui::ErrorMarker; - ImGui::SetCursorPosX(m_line_height / 3); - ImGui::SetCursorPosY(m_window_height / 2 - m_line_height); - imgui.text(text.c_str()); - } + // BBS: do not render left button + //if (m_uj_state == UploadJobState::PB_ERROR) { + // std::string text; + // text = ImGui::ErrorMarker; + // ImGui::SetCursorPosX(m_line_height / 3); + // ImGui::SetCursorPosY(m_window_height / 2 - m_line_height); + // imgui.text(text.c_str()); + //} } void NotificationManager::PrintHostUploadNotification::render_cancel_button(ImGuiWrapper& imgui, const float win_size_x, const float win_size_y, const float win_pos_x, const float win_pos_y) {