Fix code style

This commit is contained in:
Michael G.
2026-04-26 02:23:15 +00:00
parent 8cbd11058d
commit 03a6b07413
+5 -2
View File
@@ -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();
}