IPAL 18536, 18538

This commit is contained in:
dmv 2008-01-14 10:26:22 +00:00
parent 444446e6bf
commit 20a36eb1fc
2 changed files with 5 additions and 1 deletions

View File

@ -144,7 +144,7 @@ void BasicGUI_CurveDlg::ConstructorsClicked( int id )
QString aTitle = tr( id == 0 ? "GEOM_POLYLINE" : id == 1 ? "GEOM_BEZIER" : "GEOM_INTERPOL" );
GroupConstructors->setTitle( aTitle );
myPoints = new GEOM::ListOfGO();
myPoints = new GEOM::ListOfGO();
myPoints->length( 0 );
myEditCurrentArgument->setText("");
@ -198,6 +198,9 @@ bool BasicGUI_CurveDlg::ClickOnApply()
initName();
ConstructorsClicked( getConstructorId() );
globalSelection(); // close local contexts, if any
localSelection(GEOM::GEOM_Object::_nil(), TopAbs_VERTEX);
return true;
}

View File

@ -203,6 +203,7 @@ void BasicGUI_VectorDlg::ConstructorsClicked( int constructorId )
GroupPoints->hide();
resize( 0, 0 );
GroupDimensions->show();
globalSelection(); // close local contexts, if any
double dx( 0. ), dy( 0. ), dz( 0. );
GroupDimensions->SpinBox_DX->SetValue( dx );