diff FrmMain.cs @ 239:c06d0865ff27

Fixes #388: Add "Add unit" options to army tree * Add button, context menu and double-click hooks for adding units
author IBBoard <dev@ibboard.co.uk>
date Sat, 21 Jan 2012 11:36:23 +0000
parents 4ada3252d1ea
children ea5cb50ebe5e
line wrap: on
line diff
--- a/FrmMain.cs	Sat Jan 21 11:35:09 2012 +0000
+++ b/FrmMain.cs	Sat Jan 21 11:36:23 2012 +0000
@@ -1203,7 +1203,7 @@
 			this.Text = str;
 		}
 
-		private void AddUnitFromCategory(Category cat)
+		internal void AddUnitFromCategory(Category cat)
 		{
 			FrmNewUnit newUnit = new FrmNewUnit(CurrentArmy.Race, cat, CurrentArmy);
 			DialogResult dr = newUnit.ShowDialog(this);