FIX:Fix the current noise not displaying when printing

Change-Id: I9dcaecb33ae75ec8e91b7c26746b75bf09d3c86b
This commit is contained in:
tao wang 2024-10-17 11:18:51 +08:00 committed by Lane.Wei
parent 10de7e8d10
commit fce2c9d401
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ wxString TempInput::erasePending(wxString &str)
void TempInput::SetTagTemp(int temp) void TempInput::SetTagTemp(int temp)
{ {
auto tp = wxString::Format("%d", temp); auto tp = wxString::Format("%d", temp);
if ((text_ctrl->GetValue() != wxString("_")) && (text_ctrl->GetValue() != tp) ) { if (text_ctrl->GetValue() != tp) {
text_ctrl->SetValue(tp); text_ctrl->SetValue(tp);
messureSize(); messureSize();
Refresh(); Refresh();