FIX: the text encoding problem

jira: [STUDIO-12251]
Change-Id: Ie485eaad3fac8a9f0aa84d4f2ff85708a3c984b5
This commit is contained in:
xin.zhang 2025-05-19 21:16:00 +08:00 committed by lane.wei
parent a5123f132d
commit 7a054c7618

View File

@ -569,13 +569,13 @@ void AMSMaterialsSetting::on_select_ok(wxCommandEvent &event)
if (in_blacklist) { if (in_blacklist) {
if (action == "prohibition") { if (action == "prohibition") {
MessageDialog msg_wingow(nullptr, wxString::FromUTF8(info), _L("Error"), wxICON_WARNING | wxOK); MessageDialog msg_wingow(nullptr, info, _L("Error"), wxICON_WARNING | wxOK);
msg_wingow.ShowModal(); msg_wingow.ShowModal();
//m_comboBox_filament->SetSelection(m_filament_selection); //m_comboBox_filament->SetSelection(m_filament_selection);
return; return;
} }
else if (action == "warning") { else if (action == "warning") {
MessageDialog msg_wingow(nullptr, wxString::FromUTF8(info), _L("Warning"), wxICON_INFORMATION | wxOK); MessageDialog msg_wingow(nullptr, info, _L("Warning"), wxICON_INFORMATION | wxOK);
msg_wingow.ShowModal(); msg_wingow.ShowModal();
} }
} }