mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: round the temp
jira: [STUDIO-12478] Change-Id: I9218e56d2fd006b0806d12dd44e58b06746a08fb (cherry picked from commit 94efa9177eac8e690878348691789a4553dc5326)
This commit is contained in:
@@ -146,7 +146,7 @@ void uiAmsPercentHumidityDryPopup::UpdateContents()
|
||||
// table grid
|
||||
const wxString& humidity_str = wxString::Format("%d%%", m_humidity_percent);
|
||||
m_humidity_label->SetLabel(humidity_str);
|
||||
const wxString& temp_str = wxString::Format(_L("%.1f \u2103"), m_current_temperature);
|
||||
const wxString& temp_str = wxString::Format(_L("%d \u2103"), (int)std::round(m_current_temperature));
|
||||
m_temperature_label->SetLabel(temp_str);
|
||||
|
||||
if (m_left_dry_time > 0)
|
||||
|
||||
Reference in New Issue
Block a user