mirror of
				https://github.com/Zelda64Recomp/Zelda64Recomp.git
				synced 2025-10-30 08:03:03 +00:00 
			
		
		
		
	only clear description if element matches
This commit is contained in:
		
							parent
							
								
									64e4d91e13
								
							
						
					
					
						commit
						02b9a7a422
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -139,14 +139,10 @@ void ConfigSubMenu::back_button_pressed() { | |||
| } | ||||
| 
 | ||||
| void ConfigSubMenu::set_description_option_element(ConfigOptionElement *option, bool active) { | ||||
|     if (description_option_element != nullptr && description_option_element != option) { | ||||
|         return; | ||||
|     } | ||||
| 
 | ||||
|     if (active) { | ||||
|         description_option_element = option; | ||||
|     } | ||||
|     else { | ||||
|     else if (description_option_element == option) { | ||||
|         description_option_element = nullptr; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 thecozies
						thecozies