(GAL): recognize version 102.

This commit is contained in:
morkt
2018-06-19 14:11:03 +04:00
parent f215b8d5d3
commit 95f8aae480
2 changed files with 54 additions and 28 deletions

View File

@@ -15,12 +15,12 @@ namespace GameRes.Formats.GUI
/// </summary>
public partial class WidgetGAL : StackPanel
{
public WidgetGAL()
public WidgetGAL (IDictionary<string, string> known_keys)
{
InitializeComponent();
var first_item = new KeyValuePair<string, string> (arcStrings.ArcIgnoreEncryption, "");
var items = new KeyValuePair<string, string>[] { first_item };
this.Title.ItemsSource = items.Concat (GalFormat.KnownKeys.OrderBy (x => x.Key));
this.Title.ItemsSource = items.Concat (known_keys.OrderBy (x => x.Key));
}
}
}