A small bug is fixed.

This commit is contained in:
asv 2005-06-03 10:39:10 +00:00
parent 629a486f19
commit 521dab878e

View File

@ -281,7 +281,7 @@ void BasicGUI_PointDlg::ConstructorsClicked(int constructorId)
//=================================================================================
void BasicGUI_PointDlg::ClickOnOk()
{
if ( ClickOnApply() )
if ( onAccept() )
ClickOnCancel();
}
@ -553,7 +553,10 @@ bool BasicGUI_PointDlg::execute( ObjectList& objects )
}
if ( !anObj->_is_nil() )
{
//printf( "--> a valid point is created\n" );
objects.push_back( anObj._retn() );
}
return res;
}