diff --git a/src/core/Config.cpp b/src/core/Config.cpp index fd1289c7c4..f61de791b3 100644 --- a/src/core/Config.cpp +++ b/src/core/Config.cpp @@ -332,6 +332,9 @@ void ConfigReader::getActionKey(const std::string & section, const std::string & if(id == ActionKey::UNUSED && !setting->getValue().empty() && setting->getValue() != Input::KEY_NONE) { LogWarning << "Error parsing key name for " << key << ": \"" << setting->getValue() << "\", resetting to \"" << Input::getKeyName(binding) << "\""; + } if(id == InputKeyId(Keyboard::Key_Escape)) { + LogWarning << "Invalid key for " << key << ": \"" << setting->getValue() + << "\", resetting to \"" << Input::getKeyName(binding) << "\""; } else { binding = id; }