Salome HOME
Constriction type for all sketch entities
[modules/shaper.git] / src / PartSet / PartSet_WidgetPoint2dDistance.cpp
index 756e9a8a91fb38bc694a42bfcd828b455df38830..14ac4592178c9bb0adae1f0cc05e963d1551ec2d 100644 (file)
@@ -44,7 +44,7 @@ PartSet_WidgetPoint2dDistance::~PartSet_WidgetPoint2dDistance()
 void PartSet_WidgetPoint2dDistance::reset()
 {
   bool isOk;
-  double aDefValue = QString::fromStdString(myDefaultValue).toDouble(&isOk);
+  double aDefValue = QString::fromStdString(getDefaultValue()).toDouble(&isOk);
 
   ModuleBase_Tools::setSpinValue(mySpinBox, isOk ? aDefValue : 0.0);
 }