FIX:fixed German not displaying error messages

jira:STUDIO-3722

Change-Id: I12883b4f494c1344a7b694ce627e95e4e14a3e1d
This commit is contained in:
tao wang 2023-08-23 17:34:35 +08:00 committed by Lane.Wei
parent b73a91eae7
commit 90b906584d
1 changed files with 2 additions and 2 deletions

View File

@ -1915,10 +1915,10 @@ void SelectMachineDialog::update_ams_status_msg(wxString msg, bool is_warning)
} else {
msg = format_text(msg);
auto str_new = msg.ToStdString();
auto str_new = msg.utf8_string();
stripWhiteSpace(str_new);
auto str_old = m_statictext_ams_msg->GetLabel().ToStdString();
auto str_old = m_statictext_ams_msg->GetLabel().utf8_string();
stripWhiteSpace(str_old);
if (str_new != str_old) {