aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/LayoutingQueueItem.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-04 15:18:14 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-04 15:18:14 +0100
commitebaffebe02ecadd003c6bc1a66b92dbc720f9711 (patch)
treea4da1b41fbbac0b994089ea6b501f1351f909db6 /src/LayoutingQueueItem.cs
parent0cce95c9485bc49ae6a2af31046d1e5b2dcdf81e (diff)
parent14c11116a5a53bc8c628b4963ecdfd31ccd41ee0 (diff)
Merge branch 'ReferencedLQIs'
Diffstat (limited to 'src/LayoutingQueueItem.cs')
-rw-r--r--src/LayoutingQueueItem.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LayoutingQueueItem.cs b/src/LayoutingQueueItem.cs
index 95234112..d1cfaeb9 100644
--- a/src/LayoutingQueueItem.cs
+++ b/src/LayoutingQueueItem.cs
@@ -45,6 +45,10 @@ namespace Crow
{
LayoutType = _layoutType;
GraphicObject = _graphicObject;
+ GraphicObject.RegisteredLQIs.Add (this);
+ }
+ public void DeleteLayoutableRef(){
+ GraphicObject.RegisteredLQIs.Remove(this);
}
public void ProcessLayouting()
{