mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	FIX:fixed title of calibration dialog not being darked up
Change-Id: I3c24dde3ba3effb815b744aef16da273ad78b55a
This commit is contained in:
		
							parent
							
								
									49f3f3571d
								
							
						
					
					
						commit
						12590a3599
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -174,7 +174,6 @@ CalibrationDialog::CalibrationDialog(Plater *plater)
 | 
			
		|||
    Fit();
 | 
			
		||||
 | 
			
		||||
    m_calibration_btn->Bind(wxEVT_LEFT_DOWN, &CalibrationDialog::on_start_calibration, this);
 | 
			
		||||
    wxGetApp().UpdateDlgDarkUI(this);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
CalibrationDialog::~CalibrationDialog() {}
 | 
			
		||||
| 
						 | 
				
			
			@ -296,7 +295,10 @@ void CalibrationDialog::update_machine_obj(MachineObject *obj) { m_obj = obj; }
 | 
			
		|||
 | 
			
		||||
bool CalibrationDialog::Show(bool show) 
 | 
			
		||||
{
 | 
			
		||||
    if (show) { CentreOnParent(); }
 | 
			
		||||
    if (show) { 
 | 
			
		||||
        wxGetApp().UpdateDlgDarkUI(this);
 | 
			
		||||
        CentreOnParent(); 
 | 
			
		||||
    }
 | 
			
		||||
    return DPIDialog::Show(show);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue