FEM: remove the not needed GuiUp check on GUI files
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user