mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-14 17:48:34 +05:00
IPAL 18096
This commit is contained in:
parent
7ac24e7592
commit
6623d942cd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user