Lua Console - clear output window on New Session

This commit is contained in:
adelikat 2012-03-17 12:19:30 +00:00
parent 1380cccd7a
commit c3aeda2d54
1 changed files with 6 additions and 1 deletions

View File

@ -299,10 +299,10 @@ namespace BizHawk.MultiClient
{ {
//TODO: ask save //TODO: ask save
StopAllScripts(); StopAllScripts();
ClearOutput();
luaList.Clear(); luaList.Clear();
DisplayLuaList(); DisplayLuaList();
UpdateNumberOfScripts(); UpdateNumberOfScripts();
} }
private void turnOffAllScriptsToolStripMenuItem_Click(object sender, EventArgs e) private void turnOffAllScriptsToolStripMenuItem_Click(object sender, EventArgs e)
@ -696,6 +696,11 @@ namespace BizHawk.MultiClient
} }
private void clearToolStripMenuItem2_Click(object sender, EventArgs e) private void clearToolStripMenuItem2_Click(object sender, EventArgs e)
{
ClearOutput();
}
private void ClearOutput()
{ {
OutputBox.Text = ""; OutputBox.Text = "";
} }