mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 20:51:12 -06:00 
			
		
		
		
	Fixed debug crash in update_changed_tree_ui
Reproduce: For MK2.5S printer preset set flag "Support stealth mode"
This commit is contained in:
		
							parent
							
								
									229eff72d6
								
							
						
					
					
						commit
						8c43b04970
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -545,6 +545,9 @@ void TabSLAMaterial::init_options_list() | |||
| void Tab::get_sys_and_mod_flags(const std::string& opt_key, bool& sys_page, bool& modified_page) | ||||
| { | ||||
|     auto opt = m_options_list.find(opt_key); | ||||
|     if (opt == m_options_list.end())  | ||||
|         return; | ||||
| 
 | ||||
|     if (sys_page) sys_page = (opt->second & osSystemValue) != 0; | ||||
|     modified_page |= (opt->second & osInitValue) == 0; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka