fixed missing exception handling for the variable changed handler
This commit is contained in:
parent
02d0e40e57
commit
1222cce7fd
1 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue