Ram Watch/Cheat Window/Lua Console - when deleting, clear selected items
This commit is contained in:
parent
e703d3a99f
commit
c5f2d02f68
|
@ -572,6 +572,7 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
Global.CheatList.Remove(Global.CheatList.Cheat(indexes[0])); //index[0] used since each iteration will make this the correct list index
|
||||
}
|
||||
indexes.Clear();
|
||||
DisplayCheatsList();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -227,12 +227,14 @@
|
|||
//
|
||||
// editToolStripMenuItem
|
||||
//
|
||||
this.editToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.CutHS;
|
||||
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
|
||||
this.editToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
|
||||
this.editToolStripMenuItem.Text = "Edit";
|
||||
//
|
||||
// toggleToolStripMenuItem
|
||||
//
|
||||
this.toggleToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Refresh1;
|
||||
this.toggleToolStripMenuItem.Name = "toggleToolStripMenuItem";
|
||||
this.toggleToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
|
||||
this.toggleToolStripMenuItem.Text = "Toggle";
|
||||
|
|
|
@ -291,6 +291,7 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
luaList.Remove(luaList[indexes[0]]); //index[0] used since each iteration will make this the correct list index
|
||||
}
|
||||
indexes.Clear();
|
||||
DisplayLuaList();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -501,6 +501,7 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
watchList.Remove(watchList[indexes[0]]); //index[0] used since each iteration will make this the correct list index
|
||||
}
|
||||
indexes.Clear();
|
||||
DisplayWatchList();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue