From 9eefb7a14e2cca28160eb29108ce3b4e56279246 Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 1 Feb 2006 10:38:35 +0000 Subject: [PATCH] Fix for bug IPAL11303 (CRASH after calling "Create Group" dlg for referenced object). --- src/GroupGUI/GroupGUI_GroupDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GroupGUI/GroupGUI_GroupDlg.cxx b/src/GroupGUI/GroupGUI_GroupDlg.cxx index 041774bf4..e0f11a31c 100644 --- a/src/GroupGUI/GroupGUI_GroupDlg.cxx +++ b/src/GroupGUI/GroupGUI_GroupDlg.cxx @@ -544,7 +544,7 @@ void GroupGUI_GroupDlg::updateState() ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( firstIObject(), aMapIndex ); } - if ( !aMapIndex.Extent() ) // try to find out and process the object browser selection + if ( !aMapIndex.Extent() && !CORBA::is_nil( myMainObj ) ) // try to find out and process the object browser selection { isAdd = true; GEOM::ListOfGO anObjects; -- 2.39.2