diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-01-29 13:30:29 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-01-29 13:30:29 +0100 |
| commit | 0bf825fce6f1946034dbea6b1f7eb8d0dacdab8a (patch) | |
| tree | 57eb7d724b1269401fa50dbc5efd3c824baa86fa /src/LayoutingQueueItem.cs | |
| parent | d33bdad20192033b0da77c2c1a0f151108767041 (diff) | |
debug renaming, debug template loading not skipping template tag in templatedContainer
Diffstat (limited to 'src/LayoutingQueueItem.cs')
| -rw-r--r-- | src/LayoutingQueueItem.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LayoutingQueueItem.cs b/src/LayoutingQueueItem.cs index c2d84c54..95234112 100644 --- a/src/LayoutingQueueItem.cs +++ b/src/LayoutingQueueItem.cs @@ -52,6 +52,10 @@ namespace Crow Debug.WriteLine ("Layouting => " + this.ToString ()); #endif try { + if (GraphicObject.Parent == null){ + Debug.WriteLine("ERROR: processLayouting, no parent for: " + GraphicObject.ToString()); + return; + } GraphicObject.UpdateLayout (LayoutType); } catch (Exception ex) { Debug.WriteLine ("Layouting error: " + ex.ToString ()); |