FEM: remove the not needed GuiUp check on GUI files

This commit is contained in:
Bernd Hahnebach
2016-11-25 22:59:03 +01:00
parent 58d448da34
commit 6c36f13f04
14 changed files with 17 additions and 33 deletions

View File

@@ -58,5 +58,4 @@ class _CommandAnalysis(FemCommands):
FreeCADGui.doCommand("FemGui.getActiveAnalysis().Member = FemGui.getActiveAnalysis().Member + [App.activeDocument()." + sel[0].Name + "]")
FreeCADGui.Selection.clearSelection()
if FreeCAD.GuiUp:
FreeCADGui.addCommand('Fem_Analysis', _CommandAnalysis())
FreeCADGui.addCommand('Fem_Analysis', _CommandAnalysis())