FreeCAD: master ec46265b

Author Committer Branch Timestamp Parent
uwestoehr wmayer master 2020-09-27 03:28:18 master a29d834b
Changeset [PD] initialize hole dialog properly

as described in https://forum.freecadweb.org/viewtopic.php?f=3&t=50611, the task dialog should just read out the parameters on initialization and not invoke automatically change actions.

This PR also fixes a bug that opening a document with a cheesehead hole leads to an error about an invalid index. The reason is that we access the hole cut type before we set its enums. Thus initialize the cut type with all possible enums since, if necessary, the reduced enum set will be set later on parsing the file.
mod - src/Mod/PartDesign/Gui/TaskHoleParameters.cpp Diff File