1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/client/CFocusableHelper.cpp

19 lines
452 B
C++
Raw Normal View History

/*
* CFocusableHelper.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
2024-03-29 07:48:52 +02:00
#include "StdInc.h"
#include "CFocusableHelper.h"
2024-05-12 16:52:20 +02:00
#include "widgets/CTextInput.h"
void removeFocusFromActiveInput()
{
2024-05-14 17:51:01 +02:00
if(CFocusable::inputWithFocus != nullptr)
CFocusable::inputWithFocus->removeFocus();
}