Forgot to set the parent.

--HG--
branch : gsoc2012-gui-editor
This commit is contained in:
dfighter1985 2013-05-10 00:28:29 +02:00
parent 337f93a233
commit 057960d056

View file

@ -3298,6 +3298,8 @@ namespace NLGUI
else else
g->addView( v ); g->addView( v );
v->setParent( g );
// Invalidate so it shows up! // Invalidate so it shows up!
v->invalidateCoords(); v->invalidateCoords();