diff UIControl/AddEquipmentUIControl.cs @ 53:28b242612ad7

Re #60: Add UI to add/remove/edit weapons in GTK * Use proper method for making dialog appear Re #306: Combine equipment lists in GTK# * Populate unit equipment lists on unit display widget
author IBBoard <dev@ibboard.co.uk>
date Wed, 25 Aug 2010 15:21:56 +0000
parents dafbd432ca23
children eb7db8495bb5
line wrap: on
line diff
--- a/UIControl/AddEquipmentUIControl.cs	Sun Aug 22 14:32:16 2010 +0000
+++ b/UIControl/AddEquipmentUIControl.cs	Wed Aug 25 15:21:56 2010 +0000
@@ -57,7 +57,7 @@
 		//TODO Make abstract
 		public void Show()
 		{
-			((FrmAddEquipment)ui).ShowNow();
+			ui.ShowControl();
 		}
 	}
 }