diff --git a/src/Gui/DlgSettingsWorkbenchesImp.cpp b/src/Gui/DlgSettingsWorkbenchesImp.cpp index 65f7281b60..cfe3638e08 100644 --- a/src/Gui/DlgSettingsWorkbenchesImp.cpp +++ b/src/Gui/DlgSettingsWorkbenchesImp.cpp @@ -214,7 +214,7 @@ void wbListItem::onWbToggled(bool checked) autoloadCheckBox->setEnabled(checked); if (!checked) //disabling wb disable auto-load. autoloadCheckBox->setChecked(false); - + // Reset the start combo items. Q_EMIT wbToggled(objectName(), checked); } @@ -471,7 +471,7 @@ void DlgSettingsWorkbenchesImp::wbToggled(const QString& wbName, bool enabled) wbListItem* wbItem = dynamic_cast(ui->wbList->itemWidget(ui->wbList->item(i))); if (wbItem && wbItem->objectName() == wbName) { wbIndex = i; - } + } } int destinationIndex = ui->wbList->count(); diff --git a/src/Mod/Sketcher/App/planegcs/Geo.cpp b/src/Mod/Sketcher/App/planegcs/Geo.cpp index 902d80cd00..f060f9a6a4 100644 --- a/src/Mod/Sketcher/App/planegcs/Geo.cpp +++ b/src/Mod/Sketcher/App/planegcs/Geo.cpp @@ -624,7 +624,7 @@ DeriVector2 BSpline::CalculateNormal(const Point &p, const double* derivparam) c // place holder DeriVector2 ret; - // even if this method is call CalculateNormal, the returned vector is not the normal strictu + // even if this method is call CalculateNormal, the returned vector is not the normal strictu // sensus but a normal vector, where the vector should point to the left when one walks along // the curve from start to end. //