From cbe44ab07f0dceb2177e2cea95d4a3d7ed42ca16 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Fri, 6 Mar 2020 08:39:33 +0100 Subject: [PATCH] FEM: rename icon, Clipping Plane Add --- src/Mod/Fem/Gui/Resources/Fem.qrc | 2 +- .../{fem-clipping-plane-add.svg => FEM_ClippingPlaneAdd.svg} | 0 src/Mod/Fem/femcommands/commands.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/Mod/Fem/Gui/Resources/icons/{fem-clipping-plane-add.svg => FEM_ClippingPlaneAdd.svg} (100%) diff --git a/src/Mod/Fem/Gui/Resources/Fem.qrc b/src/Mod/Fem/Gui/Resources/Fem.qrc index ab3ad2116f..ce1422b5c6 100755 --- a/src/Mod/Fem/Gui/Resources/Fem.qrc +++ b/src/Mod/Fem/Gui/Resources/Fem.qrc @@ -6,7 +6,7 @@ icons/fem-add-material.svg icons/fem-add-part.svg icons/FEM_Analysis.svg - icons/fem-clipping-plane-add.svg + icons/FEM_ClippingPlaneAdd.svg icons/fem-clipping-plane-remove-all.svg icons/FEM_ConstraintBearing.svg icons/FEM_ConstraintContact.svg diff --git a/src/Mod/Fem/Gui/Resources/icons/fem-clipping-plane-add.svg b/src/Mod/Fem/Gui/Resources/icons/FEM_ClippingPlaneAdd.svg similarity index 100% rename from src/Mod/Fem/Gui/Resources/icons/fem-clipping-plane-add.svg rename to src/Mod/Fem/Gui/Resources/icons/FEM_ClippingPlaneAdd.svg diff --git a/src/Mod/Fem/femcommands/commands.py b/src/Mod/Fem/femcommands/commands.py index 6dac9141c9..ac6cccb556 100644 --- a/src/Mod/Fem/femcommands/commands.py +++ b/src/Mod/Fem/femcommands/commands.py @@ -74,7 +74,7 @@ class _ClippingPlaneAdd(CommandManager): def __init__(self): super(_ClippingPlaneAdd, self).__init__() self.resources = { - "Pixmap": "fem-clipping-plane-add", + "Pixmap": "FEM_ClippingPlaneAdd", "MenuText": QtCore.QT_TRANSLATE_NOOP( "FEM_ClippingPlaneAdd", "Clipping plane on face"