aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-03-13 23:47:01 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-03-13 23:47:01 +0100
commitcb66e67e7f94c70febf3be90c267585599c07dd0 (patch)
tree2cfe1e7bee1b51e8c1809410321604a00ed09688 /src/Interface.cs
parent48c126d879b3d56a149975f8e9b624b0c762f59a (diff)
set CurrentInterface in CTOR of Interface
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index d09e19e6..1084ef7b 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -42,6 +42,7 @@ namespace Crow
Interface.LoadCursors ();
}
public Interface(){
+ LayoutingQueue = new Queue<LayoutingQueueItem>();
Interface.CurrentInterface = this;
}
#endregion
@@ -69,7 +70,7 @@ namespace Crow
public const int MaxLayoutingTries = 50;
#endregion
- public Queue<LayoutingQueueItem> LayoutingQueue = new Queue<LayoutingQueueItem>();
+ public Queue<LayoutingQueueItem> LayoutingQueue;
public Queue<GraphicObject> GraphicUpdateQueue = new Queue<GraphicObject>();
public static void RegisterForGraphicUpdate(GraphicObject g)