FEM: fix not closing taskd of _CommandSolverJobControl

This commit is contained in:
Bernd Hahnebach 2015-11-27 18:26:15 +01:00 committed by Yorik van Havre
parent ea2a0d12c2
commit b2080f945a

View File

@ -43,11 +43,8 @@ class _CommandSolverJobControl(FemCommands):
self.is_active = 'with_solver'
def Activated(self):
import _TaskPanelFemSolverCalculix
taskd = _TaskPanelFemSolverCalculix._TaskPanelFemSolverCalculix(FreeCADGui.Selection.getSelection()[0])
#taskd.obj = vobj.Object
taskd.update()
FreeCADGui.Control.showDialog(taskd)
solver_obj = FreeCADGui.Selection.getSelection()[0]
FreeCADGui.ActiveDocument.setEdit(solver_obj,0)
if FreeCAD.GuiUp: