Debugger: Fixed crash when trying to add a watch expression
This commit is contained in:
parent
28899e3e18
commit
87d525572e
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ namespace Mesen.GUI.Debugger
|
|||
lstWatch.Items.RemoveAt(i);
|
||||
}
|
||||
}
|
||||
lstWatch.Items.Add("");
|
||||
lstWatch.Items.Add("").SubItems.Add("");
|
||||
|
||||
ListViewItem lastItem = lstWatch.Items[lstWatch.Items.Count - 1];
|
||||
foreach(ListViewItem item in lstWatch.Items) {
|
||||
|
|
Loading…
Add table
Reference in a new issue