mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX:fixed the Chinese profile name will display garbled characters
Change-Id: I61f84b4e89e0ba9c7ceec0d8efb5d17874b498e2
This commit is contained in:
parent
f19c83ce38
commit
bbea6f924a
1 changed files with 3 additions and 3 deletions
|
@ -2344,8 +2344,8 @@ void StatusPanel::update_subtask(MachineObject *obj)
|
|||
|
||||
|
||||
if (obj->get_modeltask() && obj->get_modeltask()->design_id > 0) {
|
||||
if(!m_staticText_profile_value->IsShown()){ m_staticText_profile_value->Show();}
|
||||
m_staticText_profile_value->SetLabelText(obj->get_modeltask()->profile_name);
|
||||
if (!m_staticText_profile_value->IsShown()) { m_staticText_profile_value->Show(); }
|
||||
m_staticText_profile_value->SetLabelText(wxString::FromUTF8(obj->get_modeltask()->profile_name));
|
||||
}
|
||||
else {
|
||||
m_staticText_profile_value->SetLabelText(wxEmptyString);
|
||||
|
@ -2392,7 +2392,7 @@ void StatusPanel::update_subtask(MachineObject *obj)
|
|||
|
||||
if (obj->get_modeltask() && obj->get_modeltask()->design_id > 0) {
|
||||
if(!m_staticText_profile_value->IsShown()){ m_staticText_profile_value->Show();}
|
||||
m_staticText_profile_value->SetLabelText(obj->get_modeltask()->profile_name);
|
||||
m_staticText_profile_value->SetLabelText(wxString::FromUTF8(obj->get_modeltask()->profile_name));
|
||||
}
|
||||
else {
|
||||
m_staticText_profile_value->SetLabelText(wxEmptyString);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue