mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-06 13:40:50 -05:00
Sort sav sub-editors on load
This commit is contained in:
parent
3111a8dc62
commit
410fcee85b
|
|
@ -1113,6 +1113,10 @@ private void ToggleViewSubEditors(SaveFile sav)
|
|||
GB_SAVtools.Visible = sav.Exportable && FLP_SAVtools.Controls.OfType<Control>().Any(c => c.Enabled);
|
||||
foreach (Control c in FLP_SAVtools.Controls.OfType<Control>())
|
||||
c.Visible = c.Enabled;
|
||||
var list = FLP_SAVtools.Controls.OfType<Control>().ToArray();
|
||||
list = list.OrderBy(z => z.Text).ToArray();
|
||||
FLP_SAVtools.Controls.Clear();
|
||||
FLP_SAVtools.Controls.AddRange(list);
|
||||
}
|
||||
|
||||
private void ToggleViewMisc(SaveFile sav)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user