Miscellaneous fixes

This commit is contained in:
jrheinlaender 2013-05-06 12:14:42 +04:30 committed by Stefan Tröger
parent 2aea9bbf96
commit f6fb4814d1
3 changed files with 1 additions and 5 deletions

View File

@ -130,8 +130,6 @@ Line::~Line()
void Line::onChanged(const App::Property *prop)
{
Datum::onChanged(prop);
if (prop == &References) {
refTypes.clear();
std::vector<App::DocumentObject*> refs = References.getValues();

View File

@ -153,8 +153,6 @@ ADD_PROPERTY_TYPE(_Normal,(Base::Vector3d(1,1,1)),"DatumPlane",
void Plane::onChanged(const App::Property *prop)
{
Datum::onChanged(prop);
if (prop == &Angle) {
// Zero value counts as angle not defined
if (fabs(Angle.getValue()) > Precision::Confusion())

View File

@ -111,7 +111,7 @@ TaskDatumParameters::TaskDatumParameters(ViewProviderDatum *DatumView,QWidget *p
connect(ui->spinAngle, SIGNAL(valueChanged(double)),
this, SLOT(onAngleChanged(double)));
connect(ui->checkBoxFlip, SIGNAL(toggled(bool)),
this, SLOT(onCheckBox1(bool)));
this, SLOT(onCheckFlip(bool)));
connect(ui->buttonRef1, SIGNAL(pressed()),
this, SLOT(onButtonRef1()));
connect(ui->lineRef1, SIGNAL(textEdited(QString)),