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

@@ -27,7 +27,6 @@ __url__ = "http://www.freecadweb.org"
## @package CommandRunSolver
# \ingroup FEM
import FreeCAD
from FemCommands import FemCommands
import FreeCADGui
from PySide import QtCore, QtGui
@@ -88,5 +87,4 @@ class _CommandRunSolver(FemCommands):
tp.restore_result_dialog()
if FreeCAD.GuiUp:
FreeCADGui.addCommand('Fem_RunSolver', _CommandRunSolver())
FreeCADGui.addCommand('Fem_RunSolver', _CommandRunSolver())