mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	FIX: fix TempInput Widget display error on mac
Change-Id: I6a5d14ece9b22453e2c22b1a279db6ff15d1f7c6
This commit is contained in:
		
							parent
							
								
									45b9406b63
								
							
						
					
					
						commit
						afd5e241e6
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue