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 c817c3334e
commit 10431331f6
14 changed files with 17 additions and 33 deletions

View File

@@ -27,7 +27,6 @@ __url__ = "http://www.freecadweb.org"
## @package CommandControlSolver
# \ingroup FEM
import FreeCAD
from FemCommands import FemCommands
import FreeCADGui
from PySide import QtCore
@@ -51,5 +50,4 @@ class _CommandControlSolver(FemCommands):
FreeCADGui.ActiveDocument.setEdit(solver_obj, 0)
if FreeCAD.GuiUp:
FreeCADGui.addCommand('Fem_ControlSolver', _CommandControlSolver())
FreeCADGui.addCommand('Fem_ControlSolver', _CommandControlSolver())