mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-28 17:56:37 +00:00 
			
		
		
		
	Don't override post-processing HUD search field focus
This commit is contained in:
		
							parent
							
								
									3b8001d55d
								
							
						
					
					
						commit
						1df5fd341b
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -445,6 +445,9 @@ namespace MWGui | |||
|         } | ||||
| 
 | ||||
|         auto tryFocus = [this](ListWrapper* widget, const std::string& hint) { | ||||
|             MyGUI::Widget* oldFocus = MyGUI::InputManager::getInstance().getKeyFocusWidget(); | ||||
|             if (oldFocus == mFilter) | ||||
|                 return; | ||||
|             size_t index = widget->findItemIndexWith(hint); | ||||
| 
 | ||||
|             if (index != MyGUI::ITEM_NONE) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue