mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 03:14:34 +01:00
Merge pull request #18100 from unknownbrackets/savedata-search
UI: Fix search within savedata screen
This commit is contained in:
1 file changed
+1
-3
@@ -675,9 +675,7 @@ UI::EventReturn SavedataScreen::OnSearch(UI::EventParams &e) {
|
||||
auto di = GetI18NCategory(I18NCat::DIALOG);
|
||||
if (System_GetPropertyBool(SYSPROP_HAS_TEXT_INPUT_DIALOG)) {
|
||||
System_InputBoxGetString(di->T("Filter"), searchFilter_, [](const std::string &value, int ivalue) {
|
||||
if (ivalue) {
|
||||
System_PostUIMessage("savedatascreen_search", value.c_str());
|
||||
}
|
||||
System_PostUIMessage("savedatascreen_search", value.c_str());
|
||||
});
|
||||
}
|
||||
return UI::EVENT_DONE;
|
||||
|
||||
Reference in new issue
Block a user