FEM: GMSH mesh obj, switch to FEM WB on double click on obj

This commit is contained in:
Bernd Hahnebach 2017-01-02 13:43:58 +01:00 committed by Yorik van Havre
parent 437ce69b11
commit 6df6bae9d8

View File

@ -63,6 +63,7 @@ class _ViewProviderFemMeshGmsh:
return
def doubleClicked(self, vobj):
FreeCADGui.activateWorkbench('FemWorkbench')
# Group meshing is only active on active analysis, we should make sure the analysis the mesh belongs too is active
gui_doc = FreeCADGui.getDocument(vobj.Object.Document)
if not gui_doc.getInEdit():