mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-05 21:17:14 -05:00
parent
1a343ead85
commit
048d96ac20
|
|
@ -23,8 +23,10 @@ public SAV_FolderList()
|
|||
locs.Add(new CustomFolderPath {Path = CyberGadgetUtil.GetCacheFolder(), DisplayText = "CGSE Cache"});
|
||||
locs.Add(new CustomFolderPath {Path = CyberGadgetUtil.GetTempFolder(), DisplayText = "CGSE Temp"});
|
||||
|
||||
foreach (var loc in locs.GroupBy(z => z.Path))
|
||||
AddButton(loc.First().DisplayText, loc.First().Path);
|
||||
var paths = locs.GroupBy(z => z.Path).Select(z => z.First())
|
||||
.OrderByDescending(z => Directory.Exists(z.Path));
|
||||
foreach (var loc in paths)
|
||||
AddButton(loc.DisplayText, loc.Path);
|
||||
|
||||
WinFormsUtil.TranslateInterface(this, Main.CurrentLanguage);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user