From 2372988b5c58303f17720945e14d48c7aebc95ee Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Fri, 29 Aug 2014 23:04:10 +0200 Subject: [PATCH] Don't clear the keymap when loading from file so that the default config is preserved --- src/control/keyboard_config.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/control/keyboard_config.cpp b/src/control/keyboard_config.cpp index db6114a88..a8ec960ab 100644 --- a/src/control/keyboard_config.cpp +++ b/src/control/keyboard_config.cpp @@ -54,7 +54,6 @@ KeyboardConfig::read(const lisp::Lisp& keymap_lisp) keymap_lisp.get("sdl2", config_is_sdl2); if (config_is_sdl2) { - keymap.clear(); keymap_lisp.get("jump-with-up", jump_with_up_kbd); lisp::ListIterator iter(&keymap_lisp); while(iter.next()) -- 2.11.0