FreeCAD: master 81bd2cf3

Author Committer Branch Timestamp Parent
abdullah wmayer master 2015-05-23 20:47:44 master a2bdc366
Changeset Bug fix: Sketcher: "Ask for value after creating distance constraint" setting not working
========================================================================================

How to replicate:
1. Go to Preferences->Display->Sketch and disable that checkbox.
2. Create a distance constraint (radius, distance, ...)

It will ask for the value regardless of whether the checkbox is clicked or not.

Why?
In SketcherSettings.ui the prefpath is "Mod/Sketcher"
The code refered to ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Sketcher/General");
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp Diff File