IPAL 18096

This commit is contained in:
dmv 2008-02-05 14:44:45 +00:00
parent 7ac24e7592
commit 6623d942cd

View File

@ -524,6 +524,13 @@ GEOM::GEOM_IOperations_ptr EntityGUI_SubShapeDlg::createOperation()
bool EntityGUI_SubShapeDlg::isValid( QString& msg )
{
bool isOk = false;
Handle(SALOME_InteractiveObject) IO = firstIObject();
Standard_Boolean testResult;
myObject = GEOMBase::ConvertIOinGEOMObject( IO, testResult );
if ( !testResult || myObject->_is_nil() ) {
updateButtonState();
return isOk;
}
if ( !myObject->_is_nil() ) {
if ( isAllSubShapes() )
isOk = true;