Salome HOME
Set empty text if double value is set in editor
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetEditor.cpp
index 1c26b11ebf3b0aa43ee8ac060a66976cfa7c160a..29e07a1f3efb95bb39f6d5c61e9c620b4abc08ac 100644 (file)
@@ -62,7 +62,7 @@ void editedValue(double& outValue, QString& outText)
   double aValue = outText.toDouble(&isDouble);
   if (isDouble) {
     outValue = aValue;
-  //  outText = ""; // return empty string, if it's can be converted to a double
+    outText = ""; // return empty string, if it's can be converted to a double
   }
   aPopup->deleteLater();
 }