Fix 'Change Keys' menu crash caused by 501f936
authorSmallJoker <mk939@ymail.com>
Fri, 9 Feb 2018 08:39:34 +0000 (09:39 +0100)
committerSmallJoker <mk939@ymail.com>
Fri, 9 Feb 2018 08:39:34 +0000 (09:39 +0100)
src/gui/guiKeyChangeMenu.cpp

index 53677a57bfb4a2f6fed7bd42d78658427d7c0cea..ca97e0b9eb590f66456d9b30450a20129e19e426 100644 (file)
@@ -431,6 +431,6 @@ void GUIKeyChangeMenu::init_keys()
        this->add_key(GUI_ID_KEY_CMD_LOCAL_BUTTON, wgettext("Local command"),    "keymap_cmd_local");
        this->add_key(GUI_ID_KEY_HUD_BUTTON,       wgettext("Toggle HUD"),       "keymap_toggle_hud");
        this->add_key(GUI_ID_KEY_CHATLOG_BUTTON,   wgettext("Toggle chat log"),  "keymap_toggle_chat");
-       this->add_key(GUI_ID_KEY_FOG_BUTTON,       wgettext("Toggle fog"),       "keymap_toggle_force_fog_off");
+       this->add_key(GUI_ID_KEY_FOG_BUTTON,       wgettext("Toggle fog"),       "keymap_toggle_fog");
 }