Draft: Removed the 'Hide Draft Workbench' Draft preference since we now have full WB customization
This commit is contained in:
parent
1099b23587
commit
bb3be15ff5
|
@ -175,9 +175,7 @@ class DraftWorkbench (Workbench):
|
|||
def GetClassName(self):
|
||||
return "Gui::PythonWorkbench"
|
||||
|
||||
# ability to turn off the Draft workbench (since it is also all included in Arch)
|
||||
if not FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Draft").GetBool("hideDraftWorkbench"):
|
||||
FreeCADGui.addWorkbench(DraftWorkbench)
|
||||
FreeCADGui.addWorkbench(DraftWorkbench)
|
||||
|
||||
# add Import/Export types
|
||||
App.addImportType("Autodesk DXF (*.dxf)","importDXF")
|
||||
|
|
|
@ -26,26 +26,6 @@
|
|||
<string>General Draft Settings</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_19">
|
||||
<item>
|
||||
<widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_12">
|
||||
<property name="toolTip">
|
||||
<string>If this is checked, the Draft workbench won't appear. Useful since all of the Draft tools are also in the Arch workbench.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Hide Draft workbench</string>
|
||||
</property>
|
||||
<property name="prefEntry" stdset="0">
|
||||
<cstring>hideDraftWorkbench</cstring>
|
||||
</property>
|
||||
<property name="prefPath" stdset="0">
|
||||
<cstring>Mod/Draft</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
|
|
Loading…
Reference in New Issue
Block a user