aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-23 12:07:22 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-23 12:07:22 +0100
commit938d7a404ec022a077579a8245e80d6fa5bbb890 (patch)
tree24cce03708b03fdfddc75dcecc58d2986c992317 /src/GraphicObjects
parentc6ca894ad25ed736e58464dfb0b224145691f529 (diff)
crowIDE wip, lock layouting for items loading in tg
Diffstat (limited to 'src/GraphicObjects')
-rw-r--r--src/GraphicObjects/TemplatedGroup.cs4
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;