Skip to content

Commit

Permalink
FEM: rename icon, Element Fluid 1D
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Mar 6, 2020
1 parent b2d48e9 commit 6e450fc
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 @@ -27,7 +27,7 @@
<file>icons/FEM_ConstraintTemperature.svg</file>
<file>icons/FEM_ConstraintTie.svg</file>
<file>icons/FEM_ConstraintTransform.svg</file>
<file>icons/fem-element-fluid-1d.svg</file>
<file>icons/FEM_ElementFluid1D.svg</file>
<file>icons/fem-element-geometry-1d.svg</file>
<file>icons/fem-element-geometry-2d.svg</file>
<file>icons/fem-element-rotation-1d.svg</file>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/femcommands/commands.py
Expand Up @@ -278,7 +278,7 @@ class _ElementFluid1D(CommandManager):
def __init__(self):
super(_ElementFluid1D, self).__init__()
self.resources = {
"Pixmap": "fem-element-fluid-1d",
"Pixmap": "FEM_ElementFluid1D",
"MenuText": QtCore.QT_TRANSLATE_NOOP(
"FEM_ElementFluid1D",
"Fluid section for 1D flow"
Expand Down
Expand Up @@ -48,7 +48,7 @@ class _ViewProviderFemElementFluid1D(ViewProviderFemConstraint.ViewProxy):
"""

def getIcon(self):
return ":/icons/fem-element-fluid-1d.svg"
return ":/icons/FEM_ElementFluid1D.svg"

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

0 comments on commit 6e450fc

Please sign in to comment.