From f6fb4814d19f65524515869b479a97eb7d842536 Mon Sep 17 00:00:00 2001 From: jrheinlaender Date: Mon, 6 May 2013 12:14:42 +0430 Subject: [PATCH] Miscellaneous fixes --- src/Mod/PartDesign/App/DatumLine.cpp | 2 -- src/Mod/PartDesign/App/DatumPlane.cpp | 2 -- src/Mod/PartDesign/Gui/TaskDatumParameters.cpp | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Mod/PartDesign/App/DatumLine.cpp b/src/Mod/PartDesign/App/DatumLine.cpp index f59e93220..37c7c5b31 100644 --- a/src/Mod/PartDesign/App/DatumLine.cpp +++ b/src/Mod/PartDesign/App/DatumLine.cpp @@ -130,8 +130,6 @@ Line::~Line() void Line::onChanged(const App::Property *prop) { - Datum::onChanged(prop); - if (prop == &References) { refTypes.clear(); std::vector refs = References.getValues(); diff --git a/src/Mod/PartDesign/App/DatumPlane.cpp b/src/Mod/PartDesign/App/DatumPlane.cpp index 6c7691388..f42f71339 100644 --- a/src/Mod/PartDesign/App/DatumPlane.cpp +++ b/src/Mod/PartDesign/App/DatumPlane.cpp @@ -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()) diff --git a/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp b/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp index 132427f93..bdb55c015 100644 --- a/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskDatumParameters.cpp @@ -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)),