mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Setting search: Don't display "Clear filter" button initially (when there's no filter)
This commit is contained in:
1 parent
fbb5d649e4
commit
27a38042df
1 file changed
+1
@@ -91,6 +91,7 @@ void TabbedUIDialogScreenWithGameBackground::CreateViews() {
|
||||
System_PostUIMessage(UIMessage::GAMESETTINGS_SEARCH, "");
|
||||
return UI::EVENT_DONE;
|
||||
});
|
||||
clearSearchChoice_->SetVisibility(searchFilter_.empty() ? UI::V_GONE : UI::V_VISIBLE);
|
||||
|
||||
noSearchResults_ = searchSettings->Add(new TextView("", new LinearLayoutParams(Margins(20, 5))));
|
||||
}, true);
|
||||
|
||||
Reference in new issue
Block a user