FIX:fixed German not displaying error messages

jira:STUDIO-3722

Change-Id: I12883b4f494c1344a7b694ce627e95e4e14a3e1d
This commit is contained in:
tao wang authored and Lane.Wei committed 2023-11-01 09:11:19 +08:00
1 parent b73a91eae7
commit 90b906584d
1 file changed
+2 -2
+2 -2
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) {