Draft: Removed leftovers from the macros menu
This commit is contained in:
parent
854596aaa0
commit
b64f283ce8
|
@ -93,13 +93,12 @@ class DraftWorkbench (Workbench):
|
||||||
if not depsOK:
|
if not depsOK:
|
||||||
return
|
return
|
||||||
|
|
||||||
# import Draft tools, icons and macros menu
|
# import Draft tools, icons
|
||||||
try:
|
try:
|
||||||
import os,Draft_rc,DraftTools, DraftGui
|
import os,Draft_rc,DraftTools, DraftGui
|
||||||
from DraftTools import translate
|
from DraftTools import translate
|
||||||
FreeCADGui.addLanguagePath(":/translations")
|
FreeCADGui.addLanguagePath(":/translations")
|
||||||
FreeCADGui.addIconPath(":/icons")
|
FreeCADGui.addIconPath(":/icons")
|
||||||
self.appendMenu(["&Macro",translate("draft","Installed Macros")],macros.macrosList)
|
|
||||||
except Exception as inst:
|
except Exception as inst:
|
||||||
print inst
|
print inst
|
||||||
FreeCAD.Console.PrintError("Error: Initializing one or more of the Draft modules failed, Draft will not work as expected.\n")
|
FreeCAD.Console.PrintError("Error: Initializing one or more of the Draft modules failed, Draft will not work as expected.\n")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user