mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
FIX: reset temp icon when printer disconnected
Jira: [STUDIO-14170] Change-Id: I0931c862e55eea0606c165207ec33068f067335d (cherry picked from commit 0f97d125d0c00f8f04f7a2aa8aad2224eb4f1e62)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user