diff --git a/src/Mod/Fem/InitGui.py b/src/Mod/Fem/InitGui.py index 8a0456ae0f..8826812643 100644 --- a/src/Mod/Fem/InitGui.py +++ b/src/Mod/Fem/InitGui.py @@ -48,6 +48,7 @@ class FemWorkbench(Workbench): import femcommands.commands def GetClassName(self): + # see https://forum.freecadweb.org/viewtopic.php?f=10&t=43300 return "FemGui::Workbench" diff --git a/src/Mod/OpenSCAD/InitGui.py b/src/Mod/OpenSCAD/InitGui.py index 0a5d4db5f4..9df219ed08 100644 --- a/src/Mod/OpenSCAD/InitGui.py +++ b/src/Mod/OpenSCAD/InitGui.py @@ -86,7 +86,6 @@ class OpenSCADWorkbench ( Workbench ): FreeCADGui.addLanguagePath(":/translations") FreeCADGui.addPreferencePage(":/ui/openscadprefs-base.ui","OpenSCAD") def GetClassName(self): - #return "OpenSCADGui::Workbench" return "Gui::PythonWorkbench"