diff FrmArmyTree.cs @ 144:4023a9bdcb8b

Re #265: Add language preference UI * Fix army tree translating * Make translations change on list change, not just on "okay"
author IBBoard <dev@ibboard.co.uk>
date Sun, 18 Apr 2010 14:12:09 +0000
parents 28105d9c2b25
children 0ae6aff8c862
line wrap: on
line diff
--- a/FrmArmyTree.cs	Wed Apr 14 19:59:35 2010 +0000
+++ b/FrmArmyTree.cs	Sun Apr 18 14:12:09 2010 +0000
@@ -56,10 +56,7 @@
 
 		private void TranslateForm()
 		{
-			foreach (Control ctrl in Controls)
-			{
-				ControlTranslator.TranslateControl(ctrl);
-			}
+			ControlTranslator.TranslateControl(this);
 
 			foreach (Component comp in components.Components)
 			{