Update Lua dialog after reloading script

In case script state changes due to error
This commit is contained in:
kalimag 2022-12-13 07:05:53 +01:00
parent f6503adfb8
commit 674c40790b
1 changed files with 4 additions and 0 deletions

View File

@ -310,6 +310,10 @@ namespace BizHawk.Client.EmuHawk
if (item.Enabled && LuaImp.ScriptList.Contains(item) == true)
{
RefreshLuaScript(item);
if (!item.Enabled)
{
UpdateDialog();
}
}
}