From 6c9cdb4bc1bbab216bdd2f7b7c2e15f452d8047f Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Fri, 6 Mar 2020 23:13:50 -0600 Subject: [PATCH] Plug-in list doesn't display properly on Mac After sorting, the list doesn't completely update until you click within it. It this completely refreshes. This fixes it... --- src/PluginManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PluginManager.cpp b/src/PluginManager.cpp index d5fb52f8d..2b0ccf953 100644 --- a/src/PluginManager.cpp +++ b/src/PluginManager.cpp @@ -879,6 +879,9 @@ void PluginRegistrationDialog::OnSort(wxListEvent & evt) mSortColumn = col; mEffects->SortItems(SortCompare, (wxUIntPtr) this); + + // Without a refresh, wxMac doesn't redisplay the list properly after a sort + mEffects->Refresh(); } void PluginRegistrationDialog::OnListChar(wxKeyEvent & evt)