From d9a1c2ae17f38fccc54c2cf6ff18ba5cfb93700b Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 11 Oct 2020 00:23:57 +0200 Subject: [PATCH] Fix keyboard not working for non-Switch in menu Fixes #869 This was missed when backporting Switch Keyboard fix in 3ef2228d859ef26c0b4a9f14ae8b0c97516e2260 --- SourceX/DiabloUI/diabloui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SourceX/DiabloUI/diabloui.cpp b/SourceX/DiabloUI/diabloui.cpp index fd47874743c..1064b180da1 100644 --- a/SourceX/DiabloUI/diabloui.cpp +++ b/SourceX/DiabloUI/diabloui.cpp @@ -92,6 +92,7 @@ void UiInitList(int min, int max, void (*fnFocus)(int value), void (*fnSelect)(i textInputActive = false; for (int i = 0; i < itemCnt; i++) { if (items[i].type == UI_EDIT) { + textInputActive = true; #ifdef __SWITCH__ switch_start_text_input(items[i - 1].art_text.text, items[i].edit.value, /*multiline=*/0); #else