mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 00:56:04 +08:00
FIX: fix TempInput Widget display error on mac
Change-Id: I6a5d14ece9b22453e2c22b1a279db6ff15d1f7c6
This commit is contained in:
parent
45b9406b63
commit
afd5e241e6
@ -771,11 +771,11 @@ void StatusBasePanel::reset_temp_misc_control()
|
||||
{
|
||||
// reset temp string
|
||||
m_tempCtrl_nozzle->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_nozzle->GetTextCtrl()->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_nozzle->GetTextCtrl()->SetValue(TEMP_BLANK_STR);
|
||||
m_tempCtrl_bed->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_bed->GetTextCtrl()->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_bed->GetTextCtrl()->SetValue(TEMP_BLANK_STR);
|
||||
m_tempCtrl_frame->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_frame->GetTextCtrl()->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_frame->GetTextCtrl()->SetValue(TEMP_BLANK_STR);
|
||||
m_button_unload->Show();
|
||||
|
||||
m_tempCtrl_nozzle->Enable(true);
|
||||
@ -1359,7 +1359,7 @@ void StatusPanel::update(MachineObject *obj)
|
||||
m_tempCtrl_frame->Enable();
|
||||
} else {
|
||||
m_tempCtrl_frame->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_frame->GetTextCtrl()->SetLabel(TEMP_BLANK_STR);
|
||||
m_tempCtrl_frame->GetTextCtrl()->SetValue(TEMP_BLANK_STR);
|
||||
m_tempCtrl_frame->Disable();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user