mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(FJSYS): changed password query.
This commit is contained in:
@@ -17,16 +17,6 @@ namespace GameRes.Formats.GUI
|
||||
InitializeComponent ();
|
||||
var first = new Dictionary<string, string> { { arcStrings.ArcNoEncryption, "" } };
|
||||
Title.ItemsSource = first.Concat (FjsysOpener.KnownPasswords.OrderBy (x => x.Key));
|
||||
Password.Text = Settings.Default.FJSYSPassword;
|
||||
}
|
||||
|
||||
private void Title_SelectionChanged (object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
if (null != this.Title.SelectedItem && null != this.Password)
|
||||
{
|
||||
var selected = (KeyValuePair<string, string>)this.Title.SelectedItem;
|
||||
this.Password.Text = selected.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user