From: spo Date: Mon, 13 Jul 2015 11:45:49 +0000 (+0300) Subject: Issue #737 - parameter does not change in extrusion X-Git-Tag: V_1.3.0~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=52357bda85e0997b9fc446f312c8eb58f8e60a65;p=modules%2Fshaper.git Issue #737 - parameter does not change in extrusion --- diff --git a/src/ModuleBase/ModuleBase_ParamSpinBox.cpp b/src/ModuleBase/ModuleBase_ParamSpinBox.cpp index 82e5757e5..2b3544917 100644 --- a/src/ModuleBase/ModuleBase_ParamSpinBox.cpp +++ b/src/ModuleBase/ModuleBase_ParamSpinBox.cpp @@ -87,8 +87,8 @@ double ModuleBase_ParamSpinBox::valueFromText(const QString& theText) const if (!hasVariable(theText)) { return ModuleBase_DoubleSpinBox::valueFromText(theText); } - // small hack: return length of the string to iniiate valuesChanged signal - return theText.length(); + // small hack: return length of the string to initiate valuesChanged signal + return qHash(theText); } QString ModuleBase_ParamSpinBox::textFromValue (double theValue) const