fix crash when toggling scripts while the registered fucntions list dialog is open
This commit is contained in:
parent
4d4c32fffa
commit
7a95fa543d
|
@ -678,7 +678,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