FIX:Fix the current noise not displaying when printing
Change-Id: I9dcaecb33ae75ec8e91b7c26746b75bf09d3c86b
This commit is contained in:
parent
10de7e8d10
commit
fce2c9d401
|
@ -163,7 +163,7 @@ wxString TempInput::erasePending(wxString &str)
|
|||
void TempInput::SetTagTemp(int 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);
|
||||
messureSize();
|
||||
Refresh();
|
||||
|
|
Loading…
Reference in New Issue