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