mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-26 09:07:55 +05:00
Fix for bug IPAL11303 (CRASH after calling "Create Group" dlg for referenced object).
This commit is contained in:
parent
6602042ae0
commit
9eefb7a14e
@ -544,7 +544,7 @@ void GroupGUI_GroupDlg::updateState()
|
|||||||
((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr()->GetIndexes( firstIObject(), aMapIndex );
|
((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;
|
isAdd = true;
|
||||||
GEOM::ListOfGO anObjects;
|
GEOM::ListOfGO anObjects;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user