Set default keybinding when key does not exist.

- Fix #463
This commit is contained in:
Edênis Freindorfer Azevedo 2019-08-02 18:22:45 -03:00 committed by Rafael Kitover
parent 38b7613eb4
commit cfb03d8b3a
1 changed files with 3 additions and 2 deletions

View File

@ -634,6 +634,7 @@ void load_opts()
} }
// joypad is special // joypad is special
set_default_keys();
for (int i = 0; i < 4; i++) { for (int i = 0; i < 4; i++) {
for (int j = 0; j < NUM_KEYS; j++) { for (int j = 0; j < NUM_KEYS; j++) {
wxString optname; wxString optname;