aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index 4cb94e76..05548587 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -224,6 +224,7 @@ namespace Crow
lock (UpdateMutex) {
GraphicObject tmp = Interface.Load (path, this);
AddWidget (tmp);
+
return tmp;
}
}
@@ -457,7 +458,6 @@ namespace Crow
{
g.Parent = this;
GraphicObjects.Insert (0, g);
-
g.RegisterForLayouting (LayoutingType.Sizing);
}
public void DeleteWidget(GraphicObject g)