mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Fix build
This commit is contained in:
		| @@ -9,14 +9,10 @@ | ||||
|  */ | ||||
| #include "StdInc.h" | ||||
| #include "CFocusableHelper.h" | ||||
| #include "../Global.h" | ||||
| #include "widgets/CTextInput.h" | ||||
|  | ||||
| void removeFocusFromActiveInput() | ||||
| { | ||||
|     if(CFocusable::inputWithFocus == nullptr) | ||||
|         return; | ||||
|     CFocusable::inputWithFocus->focus = false; | ||||
|     CFocusable::inputWithFocus->redraw(); | ||||
|     CFocusable::inputWithFocus = nullptr; | ||||
|     if(CFocusable::inputWithFocus != nullptr) | ||||
|         CFocusable::inputWithFocus->removeFocus(); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user