Salome HOME
Issue #2052: Modification of parameters don't work (sketch, extrusion)
[modules/shaper.git] / src / ModuleBase / ModuleBase_ModelWidget.h
index fcd2ad508b81e1218ea686d5031162f8c49cbee6..0b409e6feedb9ce02cd32e60c6224b8e84a938e1 100644 (file)
@@ -95,7 +95,7 @@ Q_OBJECT
 
   /// Returns this parameter value in the xml file
   /// \return the boolean result
-  bool isModifiedInEdit() const { return myIsModifiedInEdit; }
+  std::string isModifiedInEdit() const { return myIsModifiedInEdit; }
 
   /// Returns this widget value state
   /// \return the enumeration result
@@ -364,7 +364,7 @@ private:
   bool myIsInternal;
 
   // an XML state, the value is not stored into model if the widget is in edit mode
-  bool myIsModifiedInEdit;
+  std::string myIsModifiedInEdit;
 
   /// the reset state. If it is false, the reset method of the widget is not performed
   bool myUseReset;