diff options
Diffstat (limited to 'src/GraphicObjects')
| -rw-r--r-- | src/GraphicObjects/TemplatedGroup.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/TemplatedGroup.cs b/src/GraphicObjects/TemplatedGroup.cs index 8025435d..a6f1b151 100644 --- a/src/GraphicObjects/TemplatedGroup.cs +++ b/src/GraphicObjects/TemplatedGroup.cs @@ -427,13 +427,13 @@ namespace Crow iTemp = ItemTemplates ["default"]; } - //lock (CurrentInterface.LayoutMutex) { + lock (CurrentInterface.LayoutMutex) { g = iTemp.CreateInstance(CurrentInterface); page.AddChild (g); // if (isPaged) g.LogicalParent = this; g.MouseDown += itemClick; - //} + } if (iTemp.Expand != null && g is Expandable) { (g as Expandable).Expand += iTemp.Expand; |