mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	fix of segfault on startup at SplashScreen::SetText
This commit is contained in:
		
							parent
							
								
									a20ce2f484
								
							
						
					
					
						commit
						1e12b99338
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -825,7 +825,9 @@ bool GUI_App::on_init_inner()
 | 
			
		|||
        // create splash screen with updated bmp
 | 
			
		||||
        scrn = new SplashScreen(bmp.IsOk() ? bmp : create_scaled_bitmap("prusa_slicer_logo", nullptr, 400), 
 | 
			
		||||
                                wxSPLASH_CENTRE_ON_SCREEN | wxSPLASH_TIMEOUT, 4000, splashscreen_pos);
 | 
			
		||||
#ifndef __linux__
 | 
			
		||||
        wxYield();
 | 
			
		||||
#endif
 | 
			
		||||
        scrn->SetText(_L("Loading configuration..."));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue