Lock/unlock config to avoid infinite recursion (#1031)

Closes: #996
This commit is contained in:
Jacek Wieczorek
2025-05-23 14:34:04 +02:00
committed by GitHub
parent 92f127ec71
commit a6ab8f6f97

View File

@@ -288,6 +288,8 @@ namespace Input {
Config::set("proc_filtering", false);
old_filter.clear();
if(key == "down"){
Config::unlock();
Config::lock();
process("down");
return;
}