aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TemplatedControl.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-10-14 15:06:07 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-10-14 15:06:07 +0200
commitd57ae20644694ed4862785be98d3ead18100315f (patch)
tree48b5188d2c94ec19955b9714e5ae03fbaccb991d /src/GraphicObjects/TemplatedControl.cs
parent6bedf8d5d0b78ba0705e37375d8dee016e87ebbb (diff)
debug threaded listbox
debug new binding system
Diffstat (limited to 'src/GraphicObjects/TemplatedControl.cs')
-rw-r--r--src/GraphicObjects/TemplatedControl.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GraphicObjects/TemplatedControl.cs b/src/GraphicObjects/TemplatedControl.cs
index d6c7243d..de688d2c 100644
--- a/src/GraphicObjects/TemplatedControl.cs
+++ b/src/GraphicObjects/TemplatedControl.cs
@@ -116,9 +116,10 @@ namespace go
if (template == null) {
DefaultTemplate dt = (DefaultTemplate)this.GetType ().GetCustomAttributes (typeof(DefaultTemplate), true).FirstOrDefault();
this.SetChild (Interface.Load (dt.Path, this));
- this.child.ResolveBindings ();
}else
this.SetChild (template);
+
+ this.child.ResolveBindings ();
}
#region IXmlSerializable