FEM: rename icon, Constraint Self Weight

This commit is contained in:
Bernd Hahnebach
2020-03-06 08:39:25 +01:00
parent 12392549f7
commit 657dedb429
4 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
<file>icons/FEM_ConstraintPlaneRotation.svg</file>
<file>icons/FEM_ConstraintPressure.svg</file>
<file>icons/FEM_ConstraintPulley.svg</file>
<file>icons/fem-constraint-selfweight.svg</file>
<file>icons/FEM_ConstraintSelfWeight.svg</file>
<file>icons/fem-constraint-temperature.svg</file>
<file>icons/fem-constraint-tie.svg</file>
<file>icons/fem-constraint-transform.svg</file>

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -236,7 +236,7 @@ class _ConstraintSelfWeight(CommandManager):
def __init__(self):
super(_ConstraintSelfWeight, self).__init__()
self.resources = {
"Pixmap": "fem-constraint-selfweight",
"Pixmap": "FEM_ConstraintSelfWeight",
"MenuText": QtCore.QT_TRANSLATE_NOOP(
"FEM_ConstraintSelfWeight",
"Constraint self weight"

View File

@@ -38,4 +38,4 @@ class _ViewProviderFemConstraintSelfWeight(ViewProviderFemConstraint.ViewProxy):
"""
def getIcon(self):
return ":/icons/fem-constraint-selfweight.svg"
return ":/icons/FEM_ConstraintSelfWeight.svg"