diff Widgets/UnitDisplayWidget.cs @ 52:4bad8cb3f889

Re #60: Add UI to add/remove/edit weapons in GTK * Remove "not implemented" exceptions and add first implementation of setting equipment list * Add widgets to add equipment form * Subscribe to Clicked instead of Activated to hook on to correct event * Extract tree rendering method into helper class Also: * Improve exception handling of unhandled exceptions (print full stack trace with "caused by" hierarchy)
author IBBoard <dev@ibboard.co.uk>
date Sun, 22 Aug 2010 14:32:16 +0000
parents dafbd432ca23
children 28b242612ad7
line wrap: on
line diff
--- a/Widgets/UnitDisplayWidget.cs	Sat Aug 21 20:00:03 2010 +0000
+++ b/Widgets/UnitDisplayWidget.cs	Sun Aug 22 14:32:16 2010 +0000
@@ -146,9 +146,8 @@
 			}
 		}
 		
-		private void OnBttnAddEquipmentActivated(object sender, System.EventArgs e)
+		private void OnBttnAddEquipmentClicked(object sender, System.EventArgs e)
 		{
-			Console.WriteLine("Add button clicked");
 			AddEquipment();
 		}