FEM: some Python constraint VP, add import of FemGui to get the icon in TreeView when there is no analysis and Fem is not loaded

This commit is contained in:
Bernd Hahnebach
2018-05-21 14:32:55 +02:00
committed by wmayer
parent 08f79161de
commit 05384a8a8a
14 changed files with 26 additions and 10 deletions

View File

@@ -29,7 +29,8 @@ __url__ = "http://www.freecadweb.org"
import FreeCAD
import FreeCADGui
import FemGui # needed to display the icons in TreeView
False if False else FemGui.__name__ # dummy usage of FemGui for flake8, just returns 'FemGui'
# for the panel
from PySide import QtCore