changeset 34:a35c8be46006

Re #198: Add unit equipment slots * Update to resolve errors
author IBBoard <dev@ibboard.co.uk>
date Mon, 26 Oct 2009 20:57:36 +0000
parents 441cfc410987
children 1b603f97e7de
files Widgets/UnitDisplayWidget.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Widgets/UnitDisplayWidget.cs	Sat Sep 26 11:06:34 2009 +0000
+++ b/Widgets/UnitDisplayWidget.cs	Mon Oct 26 20:57:36 2009 +0000
@@ -53,7 +53,7 @@
 
 			for (int i = 0; i < length; i++)
 			{
-	            unitStats.AppendColumn(stats[i].ParentSlot.Name, renderer, statFunc);
+	            unitStats.AppendColumn(stats[i].ParentSlotName, renderer, statFunc);
 			}
 
 			TreeStore model = new TreeStore(typeof(IBBoard.WarFoundry.API.Objects.Unit));