diff --git a/src/Mod/Fem/Gui/Resources/Fem.qrc b/src/Mod/Fem/Gui/Resources/Fem.qrc index a184ebe193..446a7561ae 100755 --- a/src/Mod/Fem/Gui/Resources/Fem.qrc +++ b/src/Mod/Fem/Gui/Resources/Fem.qrc @@ -23,7 +23,7 @@ icons/FEM_ConstraintPlaneRotation.svg icons/FEM_ConstraintPressure.svg icons/FEM_ConstraintPulley.svg - icons/fem-constraint-selfweight.svg + icons/FEM_ConstraintSelfWeight.svg icons/fem-constraint-temperature.svg icons/fem-constraint-tie.svg icons/fem-constraint-transform.svg diff --git a/src/Mod/Fem/Gui/Resources/icons/fem-constraint-selfweight.svg b/src/Mod/Fem/Gui/Resources/icons/FEM_ConstraintSelfWeight.svg similarity index 100% rename from src/Mod/Fem/Gui/Resources/icons/fem-constraint-selfweight.svg rename to src/Mod/Fem/Gui/Resources/icons/FEM_ConstraintSelfWeight.svg diff --git a/src/Mod/Fem/femcommands/commands.py b/src/Mod/Fem/femcommands/commands.py index 553e9ffb61..dcf09886e1 100644 --- a/src/Mod/Fem/femcommands/commands.py +++ b/src/Mod/Fem/femcommands/commands.py @@ -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" diff --git a/src/Mod/Fem/femguiobjects/_ViewProviderFemConstraintSelfWeight.py b/src/Mod/Fem/femguiobjects/_ViewProviderFemConstraintSelfWeight.py index 6bbc2bd1fe..ad938a41d4 100644 --- a/src/Mod/Fem/femguiobjects/_ViewProviderFemConstraintSelfWeight.py +++ b/src/Mod/Fem/femguiobjects/_ViewProviderFemConstraintSelfWeight.py @@ -38,4 +38,4 @@ class _ViewProviderFemConstraintSelfWeight(ViewProviderFemConstraint.ViewProxy): """ def getIcon(self): - return ":/icons/fem-constraint-selfweight.svg" + return ":/icons/FEM_ConstraintSelfWeight.svg"