Skip to content

Commit

Permalink
FEM: rename icon, Constraint Temperature
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Mar 6, 2020
1 parent 657dedb commit 4446c2a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/Command.cpp
Expand Up @@ -817,7 +817,7 @@ CmdFemConstraintTemperature::CmdFemConstraintTemperature()
sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a temperature/concentrated heat flux acting on a face");
sWhatsThis = "FEM_ConstraintTemperature";
sStatusTip = sToolTipText;
sPixmap = "fem-constraint-temperature";
sPixmap = "FEM_ConstraintTemperature";
}

void CmdFemConstraintTemperature::activated(int)
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/Resources/Fem.qrc
Expand Up @@ -24,7 +24,7 @@
<file>icons/FEM_ConstraintPressure.svg</file>
<file>icons/FEM_ConstraintPulley.svg</file>
<file>icons/FEM_ConstraintSelfWeight.svg</file>
<file>icons/fem-constraint-temperature.svg</file>
<file>icons/FEM_ConstraintTemperature.svg</file>
<file>icons/fem-constraint-tie.svg</file>
<file>icons/fem-constraint-transform.svg</file>
<file>icons/fem-element-fluid-1d.svg</file>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/TaskFemConstraintTemperature.cpp
Expand Up @@ -61,7 +61,7 @@ using namespace Gui;
/* TRANSLATOR FemGui::TaskFemConstraintTemperature */

TaskFemConstraintTemperature::TaskFemConstraintTemperature(ViewProviderFemConstraintTemperature *ConstraintView,QWidget *parent)
: TaskFemConstraint(ConstraintView, parent, "fem-constraint-temperature")
: TaskFemConstraint(ConstraintView, parent, "FEM_ConstraintTemperature")
{
proxy = new QWidget(this);
ui = new Ui_TaskFemConstraintTemperature();
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/ViewProviderFemConstraintTemperature.cpp
Expand Up @@ -55,7 +55,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemConstraintTemperature, FemGui::ViewProvid

ViewProviderFemConstraintTemperature::ViewProviderFemConstraintTemperature()
{
sPixmap = "fem-constraint-temperature";
sPixmap = "FEM_ConstraintTemperature";
ADD_PROPERTY(FaceColor,(0.2f,0.3f,0.2f));
}

Expand Down

0 comments on commit 4446c2a

Please sign in to comment.