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:
parent
603fd81066
commit
67704b35bf
|
@ -145,6 +145,7 @@ namespace BizHawk.Client.Common
|
|||
sw.Write(sb.ToString());
|
||||
}
|
||||
|
||||
Filename = path;
|
||||
Global.Config.RecentLuaSession.Add(path);
|
||||
Changes = false;
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue