fix small bug in context menu of ram watch, ram search - disallow label edit and start new search automatically on load

This commit is contained in:
adelikat 2013-09-27 01:02:28 +00:00
parent 0490b128ad
commit 130b83d920
3 changed files with 4 additions and 3 deletions

View File

@ -72,6 +72,7 @@ namespace BizHawk.MultiClient
SpecificValueBox.ByteSize = Settings.Size; SpecificValueBox.ByteSize = Settings.Size;
SpecificValueBox.Type = Settings.Type; SpecificValueBox.Type = Settings.Type;
MessageLabel.Text = String.Empty; MessageLabel.Text = String.Empty;
NewSearch();
} }
private void ListView_QueryItemBkColor(int index, int column, ref Color color) private void ListView_QueryItemBkColor(int index, int column, ref Color color)

View File

@ -299,7 +299,6 @@
this.SearchListView.GridLines = true; this.SearchListView.GridLines = true;
this.SearchListView.HideSelection = false; this.SearchListView.HideSelection = false;
this.SearchListView.ItemCount = 0; this.SearchListView.ItemCount = 0;
this.SearchListView.LabelEdit = true;
this.SearchListView.Location = new System.Drawing.Point(9, 58); this.SearchListView.Location = new System.Drawing.Point(9, 58);
this.SearchListView.Name = "SearchListView"; this.SearchListView.Name = "SearchListView";
this.SearchListView.selectedItem = -1; this.SearchListView.selectedItem = -1;
@ -542,7 +541,7 @@
// toolStripSeparator2 // toolStripSeparator2
// //
this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(149, 6); this.toolStripSeparator2.Size = new System.Drawing.Size(57, 6);
// //
// toolStripSeparator4 // toolStripSeparator4
// //

View File

@ -1098,7 +1098,8 @@ namespace BizHawk.MultiClient
InsertSeperatorContextMenuItem.Visible = InsertSeperatorContextMenuItem.Visible =
MoveUpContextMenuItem.Visible = MoveUpContextMenuItem.Visible =
MoveDownContextMenuItem.Visible = MoveDownContextMenuItem.Visible =
Separator2.Visible = Separator6.Visible =
toolStripSeparator4.Visible =
indexes.Count > 0; indexes.Count > 0;