mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
sort known encryption schemes list.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Linq;
|
||||
using GameRes.Formats.Properties;
|
||||
|
||||
namespace GameRes.Formats.GUI
|
||||
@@ -12,6 +13,8 @@ namespace GameRes.Formats.GUI
|
||||
public WidgetNPA ()
|
||||
{
|
||||
InitializeComponent();
|
||||
var sorted = NpaOpener.KnownSchemes.Skip (1).OrderBy (x => x);
|
||||
Scheme.ItemsSource = NpaOpener.KnownSchemes.Take(1).Concat (sorted);
|
||||
Scheme.SelectedItem = NpaOpener.KnownSchemes[(int)Settings.Default.NPAScheme];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user