rename another handler in editor

This commit is contained in:
Chris Forbes
2011-02-28 22:24:02 +13:00
parent 4b853ca9e8
commit 12f8200a0b
2 changed files with 2 additions and 2 deletions

View File

@@ -449,7 +449,7 @@
this.showActorNamesToolStripMenuItem.Name = "showActorNamesToolStripMenuItem";
this.showActorNamesToolStripMenuItem.Size = new System.Drawing.Size(175, 22);
this.showActorNamesToolStripMenuItem.Text = "Show Actor &Names";
this.showActorNamesToolStripMenuItem.Click += new System.EventHandler(this.showActorNamesToolStripMenuItem_Click);
this.showActorNamesToolStripMenuItem.Click += new System.EventHandler(this.ShowActorNamesClicked);
//
// Form1
//

View File

@@ -414,7 +414,7 @@ namespace OpenRA.Editor
pmMiniMap.Image.Save(saveFileDialog.FileName);
}
void showActorNamesToolStripMenuItem_Click(object sender, EventArgs e)
void ShowActorNamesClicked(object sender, EventArgs e)
{
showActorNamesToolStripMenuItem.Checked ^= true;
surface1.ShowActorNames = showActorNamesToolStripMenuItem.Checked;