mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix build
This commit is contained in:
parent
d374cec6fb
commit
533b26f23b
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user