diff --git a/src/Mod/Fem/Gui/TaskFemConstraintContact.cpp b/src/Mod/Fem/Gui/TaskFemConstraintContact.cpp
index 6fe9898e1360..50d81033fcc2 100644
--- a/src/Mod/Fem/Gui/TaskFemConstraintContact.cpp
+++ b/src/Mod/Fem/Gui/TaskFemConstraintContact.cpp
@@ -424,10 +424,15 @@ const std::string TaskFemConstraintContact::getReferences() const
}
/* Note: */
-double TaskFemConstraintContact::get_Slope() const{return ui->spSlope->value();}
-double TaskFemConstraintContact::get_Friction() const{return ui->spFriction->value();}
-
+double TaskFemConstraintContact::get_Slope() const
+{
+ return ui->spSlope->rawValue();
+}
+double TaskFemConstraintContact::get_Friction() const
+{
+ return ui->spFriction->value();
+}
void TaskFemConstraintContact::changeEvent(QEvent *)
{
diff --git a/src/Mod/Fem/Gui/TaskFemConstraintContact.ui b/src/Mod/Fem/Gui/TaskFemConstraintContact.ui
index d19dd1e808ff..cfc6b4d8d743 100644
--- a/src/Mod/Fem/Gui/TaskFemConstraintContact.ui
+++ b/src/Mod/Fem/Gui/TaskFemConstraintContact.ui
@@ -117,10 +117,7 @@
-
-
-
- 2
-
+
1000000000.000000000000000
@@ -130,6 +127,9 @@
1000000.000000000000000
+
+ Pa
+
@@ -164,6 +164,13 @@
lw_referencesMaster
lbl_info_2
+
+
+ Gui::InputField
+ QLineEdit
+
+
+