mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue