mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 08:45:53 +08:00
FIX:fixed German not displaying error messages
jira:STUDIO-3722 Change-Id: I12883b4f494c1344a7b694ce627e95e4e14a3e1d (cherry picked from commit 3ed194f1f08272f077d9e668e5cb8a1be6cc8919)
This commit is contained in:
parent
36b8abf24e
commit
d3e2f011e4
@ -1918,10 +1918,10 @@ void SelectMachineDialog::update_ams_status_msg(wxString msg, bool is_warning)
|
|||||||
} else {
|
} else {
|
||||||
msg = format_text(msg);
|
msg = format_text(msg);
|
||||||
|
|
||||||
auto str_new = msg.ToStdString();
|
auto str_new = msg.utf8_string();
|
||||||
stripWhiteSpace(str_new);
|
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);
|
stripWhiteSpace(str_old);
|
||||||
|
|
||||||
if (str_new != str_old) {
|
if (str_new != str_old) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user