aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/GenericStack.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-10-05 12:08:56 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-10-05 12:08:57 +0200
commit4c15030701964aee1c1dc908d6fa4dcdbec16a12 (patch)
treeabc69bdd9cd0713d795a924d329b4466e31bbac6 /src/GraphicObjects/GenericStack.cs
parent8dcac53903c37878d54d59066eb7f80da1d62bc7 (diff)
threaded combo, Monodevelop addin improve
Diffstat (limited to 'src/GraphicObjects/GenericStack.cs')
-rw-r--r--src/GraphicObjects/GenericStack.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GraphicObjects/GenericStack.cs b/src/GraphicObjects/GenericStack.cs
index c6260c6b..f50a4427 100644
--- a/src/GraphicObjects/GenericStack.cs
+++ b/src/GraphicObjects/GenericStack.cs
@@ -100,6 +100,8 @@ namespace go
public override void RegisterForLayouting (int layoutType)
{
+ if (Parent == null)
+ return;
base.RegisterForLayouting (layoutType);
if ((layoutType & (int)LayoutingType.PositionChildren) > 0)