mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
Make default value of /Effects/GroupBy match the dialog choice
This commit is contained in:
@@ -166,7 +166,7 @@ void AddEffectMenuItems(
|
||||
{
|
||||
size_t pluginCnt = plugs.size();
|
||||
|
||||
wxString groupBy = gPrefs->Read(wxT("/Effects/GroupBy"), wxT("name"));
|
||||
wxString groupBy = gPrefs->Read(wxT("/Effects/GroupBy"), wxT("sortby:name"));
|
||||
|
||||
bool grouped = false;
|
||||
if (groupBy.StartsWith(wxT("groupby")))
|
||||
@@ -340,7 +340,7 @@ MenuTable::BaseItemPtrs PopulateEffectsMenu(
|
||||
plug = pm.GetNextPluginForEffectType(type);
|
||||
}
|
||||
|
||||
wxString groupby = gPrefs->Read(wxT("/Effects/GroupBy"), wxT("name"));
|
||||
wxString groupby = gPrefs->Read(wxT("/Effects/GroupBy"), wxT("sortby:name"));
|
||||
|
||||
using Comparator = bool(*)(const PluginDescriptor*, const PluginDescriptor*);
|
||||
Comparator comp1, comp2;
|
||||
|
Reference in New Issue
Block a user