(WidgetNSA): takes known keys dictionary as argument.

This commit is contained in:
morkt
2016-07-30 22:28:11 +04:00
parent a48bf2599a
commit 92279cf4bf
3 changed files with 4 additions and 4 deletions

View File

@@ -9,9 +9,10 @@ namespace GameRes.Formats.GUI
/// </summary>
public partial class WidgetNSA : Grid
{
public WidgetNSA ()
public WidgetNSA (IDictionary<string, string> known_keys)
{
InitializeComponent ();
this.Title.ItemsSource = known_keys;
this.Password.Text = Settings.Default.NSAPassword;
if (null != this.Title.SelectedItem)
{