mirror of
https://github.com/OpenMW/openmw.git
synced 2026-05-06 07:56:40 -04:00
Fix code style
This commit is contained in:
@@ -1879,10 +1879,13 @@ namespace MWGui
|
||||
bool isEditBox = widget && widget->castType<MyGUI::EditBox>(false);
|
||||
LuaUi::WidgetExtension* luaWidget = dynamic_cast<LuaUi::WidgetExtension*>(widget);
|
||||
bool capturesInput = luaWidget ? luaWidget->isTextInput() : isEditBox;
|
||||
if (widget && capturesInput) {
|
||||
if (widget && capturesInput)
|
||||
{
|
||||
mTextInputActive = true;
|
||||
SDL_StartTextInput();
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
mTextInputActive = false;
|
||||
SDL_StopTextInput();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user