MODIFIED: Widgets derived from CInterfaceGroup should now be deleted too properly.

--HG--
branch : gsoc2012-gui-editor
hg/feature/sse2
dfighter1985 12 years ago
parent aa2affa158
commit 660fb00895

@ -41,9 +41,9 @@ namespace GUIEditor
if( e == NULL )
return;
CInterfaceElement *p = e;
while( ( p != NULL ) && !p->isGroup() )
p = p->getParent();
CInterfaceElement *p = e->getParent();
if( p == NULL )
return;
CInterfaceGroup *g = dynamic_cast< CInterfaceGroup* >( p );
if( g == NULL )

Loading…
Cancel
Save