mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +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…
x
Reference in New Issue
Block a user