FIX:fixed German not displaying error messages

jira:STUDIO-3722

Change-Id: I12883b4f494c1344a7b694ce627e95e4e14a3e1d
(cherry picked from commit 3ed194f1f08272f077d9e668e5cb8a1be6cc8919)
This commit is contained in:
tao wang 2023-08-23 17:34:35 +08:00 committed by Lane.Wei
parent 36b8abf24e
commit d3e2f011e4

View file

@ -1918,10 +1918,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) {