From afe8128cc7f892561f039af2ae976974d6552e37 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 23 Sep 2021 17:16:47 +0200 Subject: [PATCH] Changed the filter 'Text filter (game name)' to a keyboard symbol followed by 'Game name'. --- es-app/src/guis/GuiGamelistFilter.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/es-app/src/guis/GuiGamelistFilter.cpp b/es-app/src/guis/GuiGamelistFilter.cpp index ee6746ef0..0f346866b 100644 --- a/es-app/src/guis/GuiGamelistFilter.cpp +++ b/es-app/src/guis/GuiGamelistFilter.cpp @@ -89,9 +89,9 @@ void GuiGamelistFilter::addFiltersToMenu() { ComponentListRow row; - auto lbl = - std::make_shared(mWindow, Utils::String::toUpper("TEXT FILTER (GAME NAME)"), - Font::get(FONT_SIZE_MEDIUM), 0x777777FF); + auto lbl = std::make_shared( + mWindow, Utils::String::toUpper(ViewController::KEYBOARD_CHAR + " GAME NAME"), + Font::get(FONT_SIZE_MEDIUM), 0x777777FF); mTextFilterField = std::make_shared(mWindow, "", Font::get(FONT_SIZE_MEDIUM), 0x777777FF, ALIGN_RIGHT); @@ -121,16 +121,16 @@ void GuiGamelistFilter::addFiltersToMenu() if (Settings::getInstance()->getBool("VirtualKeyboard")) { row.makeAcceptInputHandler([this, updateVal] { - mWindow->pushGui(new GuiTextEditKeyboardPopup( - mWindow, getHelpStyle(), "TEXT FILTER (GAME NAME)", mTextFilterField->getValue(), - updateVal, false, "OK", "APPLY CHANGES?")); + mWindow->pushGui(new GuiTextEditKeyboardPopup(mWindow, getHelpStyle(), "GAME NAME", + mTextFilterField->getValue(), updateVal, + false, "OK", "APPLY CHANGES?")); }); } else { row.makeAcceptInputHandler([this, updateVal] { - mWindow->pushGui(new GuiTextEditPopup( - mWindow, getHelpStyle(), "TEXT FILTER (GAME NAME)", mTextFilterField->getValue(), - updateVal, false, "OK", "APPLY CHANGES?")); + mWindow->pushGui(new GuiTextEditPopup(mWindow, getHelpStyle(), "GAME NAME", + mTextFilterField->getValue(), updateVal, false, + "OK", "APPLY CHANGES?")); }); }