0021018: EDF 1592 GEOM: Problems with the radius input field in the Fillet 1D dialog box

This commit is contained in:
vsr 2010-10-13 13:40:41 +00:00
parent 778b56155c
commit d197245868

View File

@ -370,9 +370,12 @@ GEOM::GEOM_IOperations_ptr OperationGUI_Fillet1d2dDlg::createOperation()
// function : isValid()
// purpose : Verify validity of input data
//=================================================================================
bool OperationGUI_Fillet1d2dDlg::isValid (QString&)
bool OperationGUI_Fillet1d2dDlg::isValid (QString& msg)
{
return !myShape->_is_nil() && (myIs1D || myVertexes.Extent() > 0);
bool ok = !myShape->_is_nil();
ok = GroupVertexes->SpinBox_DX->isValid( msg, !IsPreview() ) && ok;
ok = (myIs1D || myVertexes.Extent() > 0) && ok;
return ok;
}
//=================================================================================