diff --git a/src/slic3r/GUI/SyncAmsInfoDialog.cpp b/src/slic3r/GUI/SyncAmsInfoDialog.cpp index c682e5669f..36919a287e 100644 --- a/src/slic3r/GUI/SyncAmsInfoDialog.cpp +++ b/src/slic3r/GUI/SyncAmsInfoDialog.cpp @@ -1727,7 +1727,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;