FIX: update the time shown; keep the val update while popup
jira: [STUDIO-9268] Change-Id: I0b743ddb0ae479f9baad6239f68861a199681cda (cherry picked from commit e1bc737d1cbc1dcf79ceecf9ed301a4a02590d5a)
This commit is contained in:
@@ -211,7 +211,7 @@ void uiAmsPercentHumidityDryPopup::DrawGridArea(wxDC &dc, wxPoint start_p)
|
||||
}
|
||||
else if (header == _L("Left Time"))
|
||||
{
|
||||
const wxString &time_str = wxString::Format(_L("%d Hours"), m_left_dry_time);
|
||||
const wxString &time_str = wxString::Format(_L("%d : %d"), m_left_dry_time / 60, m_left_dry_time % 60);
|
||||
dc.DrawText(time_str, left, start_p.y + row_height);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user