From 7d4e48aa8353a387e46f9106c030f7d3c2623958 Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Thu, 2 Jan 2025 19:38:16 +0800 Subject: [PATCH] FIX:exist null pointer jira: STUDIO-9510 Change-Id: I64b13d7d4faa29715cd465501f166c8a0b966697 --- src/slic3r/GUI/SyncAmsInfoDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/SyncAmsInfoDialog.cpp b/src/slic3r/GUI/SyncAmsInfoDialog.cpp index abc964376..941fc5734 100644 --- a/src/slic3r/GUI/SyncAmsInfoDialog.cpp +++ b/src/slic3r/GUI/SyncAmsInfoDialog.cpp @@ -1723,7 +1723,7 @@ wxString SyncAmsInfoDialog::format_text(wxString &m_msg) if (wxGetApp().app_config->get("language") != "zh_CN") { return m_msg; } - + if (!m_statictext_ams_msg) { return m_msg; } wxString out_txt = m_msg; wxString count_txt = ""; int new_line_pos = 0;