- this->m_Editor->createFilter(
- ( *iIt )->text( 0 ).toStdString( ), this->mapToScene( event->pos( ) )
- );
+ {
+ auto parent = ( *iIt )->parent( );
+ if( parent != NULL )
+ this->m_Editor->createFilter(
+ parent->text( 0 ).toStdString( ),
+ ( *iIt )->text( 0 ).toStdString( ),
+ this->mapToScene( event->pos( ) )
+ );
+
+ } // rof