diff --git a/src/GEOMGUI/GEOMGUI_CreationInfoWdg.cxx b/src/GEOMGUI/GEOMGUI_CreationInfoWdg.cxx index f77dc535c..5c3681e28 100644 --- a/src/GEOMGUI/GEOMGUI_CreationInfoWdg.cxx +++ b/src/GEOMGUI/GEOMGUI_CreationInfoWdg.cxx @@ -106,7 +106,7 @@ void GEOMGUI_CreationInfoWdg::setInfo( GEOM::CreationInformationSeq& info ) try { - if ( &info ) + if ( &info && info.length() > 0 ) { SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr(); for ( int j = 0, nb = info.length(); j < nb; ++j )