mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-18 23:08:25 -05:00
Fix crash when opening AMS humidity popup (#10472)
This commit is contained in:
1 parent
6ae89f7d9b
commit
684f5b44ee
1 file changed
+1
-1
@@ -206,7 +206,7 @@ void uiAmsPercentHumidityDryPopup::DrawGridArea(wxDC &dc, wxPoint start_p)
|
||||
}
|
||||
else if (header == _L("Temperature"))
|
||||
{
|
||||
const wxString &temp_str = wxString::Format(u8"%.1f \u2103", m_current_temperature);
|
||||
const wxString &temp_str = wxString::Format(wxString::FromUTF8(u8"%.1f \u2103"), m_current_temperature);
|
||||
dc.DrawText(temp_str, left, start_p.y + row_height);
|
||||
}
|
||||
else if (header == _L("Left Time"))
|
||||
|
||||
Reference in new issue
Block a user