fixed missing exception handling for the variable changed handler

This commit is contained in:
alterNERDtive 2020-11-09 16:59:23 +01:00
parent 02d0e40e57
commit 1222cce7fd

View file

@ -142,7 +142,14 @@ namespace bindEDplugin
{
LogInfo($"Keyboard layout changed to '{to}', reloading …");
Layout = to;
LoadBinds(Binds);
try
{
LoadBinds(Binds);
}
catch (Exception e)
{
LogError(e.Message);
}
}
}