Skip to content

Commit

Permalink
FEM: Remove self.params
Browse files Browse the repository at this point in the history
It doesn't make sense to pull preferences in __init__ for later use as
they change dependin on user action.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
  • Loading branch information
PrzemoF authored and wwmayer committed Apr 14, 2015
1 parent 5040266 commit 956e5f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Mod/Fem/MechanicalMaterial.py
Expand Up @@ -128,7 +128,6 @@ def __init__(self,obj):
self.obj = obj

self.form = FreeCADGui.PySideUic.loadUi(FreeCAD.getHomePath() + "Mod/Fem/MechanicalMaterial.ui")
self.params = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Fem")

QtCore.QObject.connect(self.form.pushButton_MatWeb, QtCore.SIGNAL("clicked()"), self.goMatWeb)
QtCore.QObject.connect(self.form.cb_materials, QtCore.SIGNAL("activated(int)"), self.chooseMat)
Expand Down

0 comments on commit 956e5f0

Please sign in to comment.