Skip to content

Commit

Permalink
FEM: rename icon, Element Geometry 2D
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Mar 6, 2020
1 parent 42781de commit 7d0ead2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/Resources/Fem.qrc
Expand Up @@ -29,7 +29,7 @@
<file>icons/FEM_ConstraintTransform.svg</file>
<file>icons/FEM_ElementFluid1D.svg</file>
<file>icons/FEM_ElementGeometry1D.svg</file>
<file>icons/fem-element-geometry-2d.svg</file>
<file>icons/FEM_ElementGeometry2D.svg</file>
<file>icons/fem-element-rotation-1d.svg</file>
<file>icons/fem-equation-elasticity.svg</file>
<file>icons/fem-equation-electrostatic.svg</file>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/femcommands/commands.py
Expand Up @@ -320,7 +320,7 @@ class _ElementGeometry2D(CommandManager):
def __init__(self):
super(_ElementGeometry2D, self).__init__()
self.resources = {
"Pixmap": "fem-element-geometry-2d",
"Pixmap": "FEM_ElementGeometry2D",
"MenuText": QtCore.QT_TRANSLATE_NOOP(
"FEM_ElementGeometry2D",
"Shell plate thickness"
Expand Down
Expand Up @@ -44,7 +44,7 @@ class _ViewProviderFemElementGeometry2D(ViewProviderFemConstraint.ViewProxy):
"""

def getIcon(self):
return ":/icons/fem-element-geometry-2d.svg"
return ":/icons/FEM_ElementGeometry2D.svg"

def setEdit(self, vobj, mode=0):
ViewProviderFemConstraint.ViewProxy.setEdit(
Expand Down

0 comments on commit 7d0ead2

Please sign in to comment.