small fix in Job dialog

This commit is contained in:
jriegel 2013-08-12 22:30:02 +02:00
parent fede3064b5
commit ac69b1fc7f

View File

@ -165,13 +165,13 @@ class _ViewProviderMachDistAnalysis:
class _JobControlTaskPanel: class _JobControlTaskPanel:
'''The editmode TaskPanel for Material objects''' '''The editmode TaskPanel for Material objects'''
def __init__(self,object): def __init__(self):
# the panel has a tree widget that contains categories # the panel has a tree widget that contains categories
# for the subcomponents, such as additions, subtractions. # for the subcomponents, such as additions, subtractions.
# the categories are shown only if they are not empty. # the categories are shown only if they are not empty.
form_class, base_class = uic.loadUiType(FreeCAD.getHomePath() + "Mod/Machining_Distortion/JobControl.ui") form_class, base_class = uic.loadUiType(FreeCAD.getHomePath() + "Mod/Machining_Distortion/JobControl.ui")
self.obj = object #self.obj = object
self.formUi = form_class() self.formUi = form_class()
self.form = QtGui.QWidget() self.form = QtGui.QWidget()
self.formUi.setupUi(self.form) self.formUi.setupUi(self.form)