Sort plugin and themes in setting dialog

This commit is contained in:
qianlifeng 2015-01-22 20:24:15 +08:00
parent f4904e06c8
commit c4ca06d5e5
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ namespace Wox.Core.Plugin
{ {
get get
{ {
return plugins; return plugins.OrderBy(o => o.Metadata.Name).ToList();
} }
} }

View File

@ -102,7 +102,7 @@ namespace Wox.Core.Theme
.Where(filePath => filePath.EndsWith(".xaml") && !filePath.EndsWith("Base.xaml")) .Where(filePath => filePath.EndsWith(".xaml") && !filePath.EndsWith("Base.xaml"))
.ToList()); .ToList());
} }
return themes; return themes.OrderBy(o => o).ToList();
} }
private string GetThemePath(string themeName) private string GetThemePath(string themeName)