From 18a41b7599f126c5785c302a2f6af7d9848a98c0 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 30 Apr 2015 14:57:25 +0300 Subject: [PATCH] 23034: EDF GEOM: Information after a transformation without copy Show "(No info available)" --- src/GEOMGUI/GEOMGUI_CreationInfoWdg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.39.2