Updated appendMenu() functions in py workbenches
This commit is contained in:
@@ -74,11 +74,11 @@ class ArchWorkbench(Workbench):
|
||||
self.appendToolbar(QT_TRANSLATE_NOOP("Workbench","Arch tools"),self.archtools)
|
||||
self.appendToolbar(QT_TRANSLATE_NOOP("Workbench","Draft tools"),self.drafttools)
|
||||
self.appendToolbar(QT_TRANSLATE_NOOP("Workbench","Draft mod tools"),self.draftmodtools)
|
||||
self.appendMenu([translate("arch","&Arch"),translate("arch","Utilities")],self.utilities)
|
||||
self.appendMenu(translate("arch","&Arch"),self.archtools)
|
||||
self.appendMenu(translate("arch","&Draft"),self.drafttools+self.draftmodtools+self.draftextratools)
|
||||
self.appendMenu([translate("arch","&Draft"),translate("arch","Utilities")],self.draftutils+self.draftcontexttools)
|
||||
self.appendMenu([translate("arch","&Draft"),translate("arch","Snapping")],self.snapList)
|
||||
self.appendMenu([QT_TRANSLATE_NOOP("arch","&Arch"),QT_TRANSLATE_NOOP("arch","Utilities")],self.utilities)
|
||||
self.appendMenu(QT_TRANSLATE_NOOP("arch","&Arch"),self.archtools)
|
||||
self.appendMenu(QT_TRANSLATE_NOOP("arch","&Draft"),self.drafttools+self.draftmodtools+self.draftextratools)
|
||||
self.appendMenu([QT_TRANSLATE_NOOP("arch","&Draft"),QT_TRANSLATE_NOOP("arch","Utilities")],self.draftutils+self.draftcontexttools)
|
||||
self.appendMenu([QT_TRANSLATE_NOOP("arch","&Draft"),QT_TRANSLATE_NOOP("arch","Snapping")],self.snapList)
|
||||
FreeCADGui.addIconPath(":/icons")
|
||||
FreeCADGui.addLanguagePath(":/translations")
|
||||
FreeCADGui.addPreferencePage(":/ui/preferences-arch.ui","Arch")
|
||||
|
||||
Reference in New Issue
Block a user