Lua Console - dont' flag changes when change the on/off status of a script as that leads to being nagged too much (for instance, toggling a lua script at any time during recording and then restarting your movie). Remember the file name when creating a new session as to do a Save As during AskSave()

This commit is contained in:
adelikat 2014-04-22 21:35:04 +00:00
parent 603fd81066
commit 67704b35bf
2 changed files with 1 additions and 2 deletions

View File

@ -145,6 +145,7 @@ namespace BizHawk.Client.Common
sw.Write(sb.ToString());
}
Filename = path;
Global.Config.RecentLuaSession.Add(path);
Changes = false;
}

View File

@ -193,7 +193,6 @@ namespace BizHawk.Client.EmuHawk
else
{
file.Stop();
_luaList.Changes = true;
}
}
}
@ -724,7 +723,6 @@ namespace BizHawk.Client.EmuHawk
}
}
_luaList.Changes = true;
UpdateDialog();
}