do not require lng file to have a new key
This commit is contained in:
parent
4533da71bd
commit
6e38d9b187
|
@ -177,7 +177,7 @@ void Lang::loadStrings(string uselanguage, bool loadFonts,
|
|||
#endif
|
||||
|
||||
|
||||
if( lang.hasString("ALLOWED_SPECIAL_KEYS")) {
|
||||
if( lang.hasString("ALLOWED_SPECIAL_KEYS","",false)) {
|
||||
string allowedKeys = lang.get("ALLOWED_SPECIAL_KEYS");
|
||||
Window::addAllowedKeys(allowedKeys);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue