1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/clientapp/CFocusableHelper.cpp

19 lines
462 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-08-14 22:30:19 +02:00
#include "../client/widgets/CTextInput.h"
void removeFocusFromActiveInput()
{
2024-05-14 17:51:01 +02:00
if(CFocusable::inputWithFocus != nullptr)
CFocusable::inputWithFocus->removeFocus();
}