mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-27 09:59:48 -07:00
FIX: reset temp icon when printer disconnected
Jira: [STUDIO-14170] Change-Id: I0931c862e55eea0606c165207ec33068f067335d (cherry picked from commit 0f97d125d0c00f8f04f7a2aa8aad2224eb4f1e62)
This commit is contained in:
parent
06acdf2609
commit
b5b64265b2
1 changed files with 5 additions and 0 deletions
|
|
@ -1772,14 +1772,19 @@ wxBoxSizer *StatusBasePanel::create_misc_control(wxWindow *parent)
|
|||
void StatusBasePanel::reset_temp_misc_control()
|
||||
{
|
||||
// reset temp string
|
||||
m_tempCtrl_nozzle->SetIconNormal();
|
||||
m_tempCtrl_nozzle->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_nozzle->GetTextCtrl()->SetValue(TEMP_BLANK_STR);
|
||||
|
||||
m_tempCtrl_nozzle_deputy->SetIconNormal();
|
||||
m_tempCtrl_nozzle_deputy->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_nozzle_deputy->GetTextCtrl()->SetValue(TEMP_BLANK_STR);
|
||||
|
||||
m_tempCtrl_bed->SetIconNormal();
|
||||
m_tempCtrl_bed->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_bed->GetTextCtrl()->SetValue(TEMP_BLANK_STR);
|
||||
|
||||
m_tempCtrl_chamber->SetIconNormal();
|
||||
m_tempCtrl_chamber->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_chamber->GetTextCtrl()->SetValue(TEMP_BLANK_STR);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue