mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
(WidgetDPK): set scheme to default for default key values.
This commit is contained in:
parent
315aa97e88
commit
ce67fd0759
@ -19,6 +19,8 @@ namespace GameRes.Formats.GUI
|
||||
uint key2 = Settings.Default.DPKKey2;
|
||||
if (last_scheme.Key1 != key1 || last_scheme.Key2 != key2)
|
||||
EncScheme.SelectedIndex = -1;
|
||||
else if (null == EncScheme.SelectedItem)
|
||||
EncScheme.SelectedIndex = 0;
|
||||
Key1.Text = key1.ToString ("X");
|
||||
Key2.Text = key2.ToString ("X8");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user