mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
implemented external storage of resource schemes.
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
using System.Windows.Controls;
|
||||
using GameRes.Formats.Marble;
|
||||
using GameRes.Formats.Strings;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace GameRes.Formats.GUI
|
||||
{
|
||||
@@ -10,6 +14,10 @@ namespace GameRes.Formats.GUI
|
||||
public WidgetMBL ()
|
||||
{
|
||||
InitializeComponent ();
|
||||
var keys = new[] { new KeyValuePair<string, string> (arcStrings.ArcDefault, "") };
|
||||
EncScheme.ItemsSource = keys.Concat (MblOpener.KnownKeys);
|
||||
if (-1 == EncScheme.SelectedIndex)
|
||||
EncScheme.SelectedIndex = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user