mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Fix default bitmap loading in Field
This commit is contained in:
		
							parent
							
								
									79e71cb8d3
								
							
						
					
					
						commit
						eae6576162
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -45,8 +45,7 @@ void Field::PostInitialize() | |||
| 	m_Undo_to_sys_btn->Bind(wxEVT_BUTTON, ([this](wxCommandEvent) { on_back_to_sys_value(); })); | ||||
| 
 | ||||
| 	//set default bitmap
 | ||||
| 	wxBitmap bmp; | ||||
| 	bmp.LoadFile(from_u8(var("bullet_white.png")), wxBITMAP_TYPE_PNG); | ||||
| 	wxBitmap bmp = create_scaled_bitmap(m_parent, "bullet_white.png"); | ||||
| 	set_undo_bitmap(&bmp); | ||||
| 	set_undo_to_sys_bitmap(&bmp); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Kral
						Vojtech Kral