(WidgetDPK): set scheme to default for default key values.

This commit is contained in:
morkt 2015-06-02 17:27:50 +04:00
parent 315aa97e88
commit ce67fd0759

View File

@ -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");