Fixed bug introduced by last commit

This commit is contained in:
Yorik van Havre 2014-09-19 13:13:34 -03:00
parent e54297313b
commit 810fadab23
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,6 @@
#* USA *
#* *
#***************************************************************************
def QT_TRANSLATE_NOOP(scope, text): return text
class ArchWorkbench(Workbench):
"Arch workbench object"
@ -103,6 +102,7 @@ class ArchWorkbench(Workbench):
'Draft_Snap_Extension','Draft_Snap_Near','Draft_Snap_Ortho',
'Draft_Snap_Dimensions','Draft_Snap_WorkingPlane']
def QT_TRANSLATE_NOOP(scope, text): return text
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)

View File

@ -19,7 +19,6 @@
#* USA *
#* *
#***************************************************************************
def QT_TRANSLATE_NOOP(scope, text): return text
class SpreadsheetWorkbench(Workbench):
"Spreadsheet workbench object"
@ -53,6 +52,7 @@ class SpreadsheetWorkbench(Workbench):
ToolTip = "Spreadsheet workbench"
def Initialize(self):
def QT_TRANSLATE_NOOP(scope, text): return text
import Spreadsheet,Spreadsheet_rc
from DraftTools import translate
commands = ["Spreadsheet_Create","Spreadsheet_Controller","Spreadsheet_PropertyController"]