diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-08 13:05:50 -0500 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-08 13:05:50 -0500 |
commit | 1af499c15b35ee0cd7a90262d91feb874bed55db (patch) | |
tree | 71f1af22ca33f8c7c51706c2fc72c8f2f89744b1 /src/yuzu/main.cpp | |
parent | ced130297568cba5787f78daf911a2a07e506c34 (diff) |
applets/swkbd: Skip text checking if the text has been confirmed
Confirm means that the text has already been checked by the application to be correct, but is asking the user for confirmation.
The confirmation text itself seems to be corrupted though, this needs to be investigated.
Fixes the software keyboard in Famicom Detective Club: The Missing Heir
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index f6fb230853..5c767e8f23 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -483,8 +483,9 @@ void GMainWindow::SoftwareKeyboardInitialize( } else { connect( software_keyboard, &QtSoftwareKeyboardDialog::SubmitNormalText, this, - [this](Service::AM::Applets::SwkbdResult result, std::u16string submitted_text) { - emit SoftwareKeyboardSubmitNormalText(result, submitted_text); + [this](Service::AM::Applets::SwkbdResult result, std::u16string submitted_text, + bool confirmed) { + emit SoftwareKeyboardSubmitNormalText(result, submitted_text, confirmed); }, Qt::QueuedConnection); } |