mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	missing include and template type
This commit is contained in:
		
							parent
							
								
									15ba458f2c
								
							
						
					
					
						commit
						1308b255fe
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -9,6 +9,7 @@ | |||
| #include "Notebook.hpp" | ||||
| #include "ButtonsDescription.hpp" | ||||
| #include "OG_CustomCtrl.hpp" | ||||
| #include <initializer_list> | ||||
| 
 | ||||
| namespace Slic3r { | ||||
| 
 | ||||
|  | @ -504,7 +505,7 @@ void PreferencesDialog::build(size_t selected_tab) | |||
| void PreferencesDialog::update_ctrls_alignment() | ||||
| { | ||||
| 	int max_ctrl_width{ 0 }; | ||||
| 	std::initializer_list og_list = { m_optgroup_general.get(), m_optgroup_camera.get(), m_optgroup_gui.get() }; | ||||
| 	std::initializer_list<ConfigOptionsGroup*> og_list = { m_optgroup_general.get(), m_optgroup_camera.get(), m_optgroup_gui.get() }; | ||||
| 	for (auto og : og_list) { | ||||
| 		if (int max = og->custom_ctrl->get_max_win_width(); | ||||
| 			max_ctrl_width < max) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Kocik
						David Kocik