From 4c15030701964aee1c1dc908d6fa4dcdbec16a12 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Mon, 5 Oct 2015 12:08:56 +0200 Subject: threaded combo, Monodevelop addin improve --- src/GraphicObjects/GenericStack.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/GraphicObjects/GenericStack.cs') 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) -- cgit v1.3.1-4-g156e