Fix so Ram Watch can be closed & reopened without crashing
This commit is contained in:
parent
6c98828ada
commit
3dd5fdb64f
|
@ -794,6 +794,7 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
private void LoadRamWatch() //TODO: accept a filename parameter and feed it to ram watch for loading
|
private void LoadRamWatch() //TODO: accept a filename parameter and feed it to ram watch for loading
|
||||||
{
|
{
|
||||||
|
RamWatch1 = new RamWatch();
|
||||||
if (Global.Config.AutoLoadRamWatch)
|
if (Global.Config.AutoLoadRamWatch)
|
||||||
RamWatch1.LoadWatchFromRecent(Global.Config.RecentWatches.GetRecentFileByPosition(0));
|
RamWatch1.LoadWatchFromRecent(Global.Config.RecentWatches.GetRecentFileByPosition(0));
|
||||||
RamWatch1.Show();
|
RamWatch1.Show();
|
||||||
|
|
|
@ -334,7 +334,7 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
private void exitToolStripMenuItem_Click(object sender, EventArgs e)
|
private void exitToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.Close();
|
this.Hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void newListToolStripMenuItem_Click(object sender, EventArgs e)
|
private void newListToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
|
Loading…
Reference in New Issue