mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-20 06:37:42 +02:00
Make default value of /Effects/GroupBy match the dialog choice
This commit is contained in:
parent
ba467b3632
commit
617c1d8785
@ -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;
|
||||
|
@ -121,7 +121,7 @@ void EffectsPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
|
||||
wxChoice *c = S.TieChoice(_("S&ort or Group:"),
|
||||
wxT("/Effects/GroupBy"),
|
||||
wxT("name"),
|
||||
wxT("sortby:name"),
|
||||
visualgroups,
|
||||
prefsgroups);
|
||||
if( c ) c->SetMinSize(c->GetBestSize());
|
||||
|
Loading…
x
Reference in New Issue
Block a user