Skip to content

Commit

Permalink
Fix keyboard not working for non-Switch in menu
Browse files Browse the repository at this point in the history
Fixes #869

This was missed when backporting Switch Keyboard fix in
3ef2228
  • Loading branch information
AJenbo committed Oct 10, 2020
1 parent 4bf4ebe commit d9a1c2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SourceX/DiabloUI/diabloui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9a1c2a

Please sign in to comment.