Lua - fix exception when reloading a lua script with registered functions while the registered functions dialog is open
This commit is contained in:
parent
cc7b60e4db
commit
907850ce02
|
@ -660,7 +660,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private static void UpdateRegisteredFunctionsDialog()
|
||||
{
|
||||
foreach (var form in Application.OpenForms.OfType<LuaRegisteredFunctionsList>())
|
||||
foreach (var form in Application.OpenForms.OfType<LuaRegisteredFunctionsList>().ToList())
|
||||
{
|
||||
form.UpdateValues();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue