Sort post-shaders alphabetically in the list.

This commit is contained in:
Henrik Rydgård committed 2022-12-03 18:58:47 +01:00
1 parent f651f365b0
commit f5c0dc717a
3 files changed
+23 -12

No files matched your search

+1
View File
@@ -267,6 +267,7 @@ void DisplayLayoutScreen::CreateViews() {
postProcChoice_->OnClick.Add([=](EventParams &e) {
auto gr = GetI18NCategory("Graphics");
auto procScreen = new PostProcScreen(gr->T("Postprocessing Shader"), i, false);
procScreen->SetHasDropShadow(false);
procScreen->OnChoice.Handle(this, &DisplayLayoutScreen::OnPostProcShaderChange);
if (e.v)
procScreen->SetPopupOrigin(e.v);