From 52357bda85e0997b9fc446f312c8eb58f8e60a65 Mon Sep 17 00:00:00 2001 From: spo Date: Mon, 13 Jul 2015 14:45:49 +0300 Subject: [PATCH] Issue #737 - parameter does not change in extrusion --- src/ModuleBase/ModuleBase_ParamSpinBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2