From ac69b1fc7fc112e532f6982da8a33344dde8409b Mon Sep 17 00:00:00 2001 From: jriegel Date: Mon, 12 Aug 2013 22:30:02 +0200 Subject: [PATCH] small fix in Job dialog --- src/Mod/Machining_Distortion/MachDistAnalysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Machining_Distortion/MachDistAnalysis.py b/src/Mod/Machining_Distortion/MachDistAnalysis.py index 1b2d386de..e2000bfea 100644 --- a/src/Mod/Machining_Distortion/MachDistAnalysis.py +++ b/src/Mod/Machining_Distortion/MachDistAnalysis.py @@ -165,13 +165,13 @@ class _ViewProviderMachDistAnalysis: class _JobControlTaskPanel: '''The editmode TaskPanel for Material objects''' - def __init__(self,object): + def __init__(self): # the panel has a tree widget that contains categories # for the subcomponents, such as additions, subtractions. # the categories are shown only if they are not empty. form_class, base_class = uic.loadUiType(FreeCAD.getHomePath() + "Mod/Machining_Distortion/JobControl.ui") - self.obj = object + #self.obj = object self.formUi = form_class() self.form = QtGui.QWidget() self.formUi.setupUi(self.form)