From fce2c9d401a903dca9883157c3896711d91d80ce Mon Sep 17 00:00:00 2001 From: tao wang Date: Thu, 17 Oct 2024 11:18:51 +0800 Subject: [PATCH] FIX:Fix the current noise not displaying when printing Change-Id: I9dcaecb33ae75ec8e91b7c26746b75bf09d3c86b --- src/slic3r/GUI/Widgets/TempInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Widgets/TempInput.cpp b/src/slic3r/GUI/Widgets/TempInput.cpp index 3fa36a5c8..8faa7145c 100644 --- a/src/slic3r/GUI/Widgets/TempInput.cpp +++ b/src/slic3r/GUI/Widgets/TempInput.cpp @@ -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();