small fix in Job dialog
This commit is contained in:
parent
fede3064b5
commit
ac69b1fc7f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user