FEM: python imports, small improvements on some imports

This commit is contained in:
Bernd Hahnebach
2017-12-31 12:22:40 +01:00
committed by wmayer
parent 34b485b648
commit 30e33e4802
5 changed files with 12 additions and 13 deletions

View File

@@ -33,7 +33,7 @@ from . import run
if App.GuiUp:
import FreeCADGui as Gui
import PyGui._TaskPanelFemSolverControl
from PyGui import _TaskPanelFemSolverControl
class Proxy(object):
@@ -91,7 +91,7 @@ class ViewProxy(object):
"Can't open Task Panel",
"Selected working directory doesn't exist.")
return False
task = PyGui._TaskPanelFemSolverControl.ControlTaskPanel(machine)
task = _TaskPanelFemSolverControl.ControlTaskPanel(machine)
Gui.Control.showDialog(task)
return True