Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
diff FrmEditEquipment.cs @ 121:3ec818926241
Code cleanup - remove warnings
* Remove unused event
* Fix null check
* Commit change that MD insisted on making to objects.xml
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 25 Sep 2011 20:59:44 +0100 |
parents | 6d2c8ad0d8f1 |
children |
line wrap: on
line diff
--- a/FrmEditEquipment.cs Sat Sep 24 12:00:27 2011 +0100 +++ b/FrmEditEquipment.cs Sun Sep 25 20:59:44 2011 +0100 @@ -19,7 +19,6 @@ { private static ILog log = LogManager.GetLogger(typeof(FrmAddEquipment)); - public event SingleArgMethodInvoker<UnitEquipmentItem> UnitEquipmentItemChoiceChanged; public event MethodInvoker UnitEquipmentAmountTypeChanged; public event MethodInvoker UnitEquipmentAmountChanged; @@ -71,7 +70,7 @@ private void OnUnitEquipmentAmountTypeChanged() { - if (UnitEquipmentAmountChanged != null) + if (UnitEquipmentAmountTypeChanged != null) { UnitEquipmentAmountTypeChanged(); }