mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 01:58:36 +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 EntityGUI_SubShapeDlg::isValid( QString& msg )
|
||||||
{
|
{
|
||||||
bool isOk = false;
|
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 ( !myObject->_is_nil() ) {
|
||||||
if ( isAllSubShapes() )
|
if ( isAllSubShapes() )
|
||||||
isOk = true;
|
isOk = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user