Salome HOME
Fix for #767: correct the internal history structure for nested features
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetBoolValue.cpp
index a019404f5dbf0d5346392a3cc716f229540cf342..f260939e540c9a26a2c522e1a48d85322eb5f9d7 100644 (file)
@@ -1,6 +1,6 @@
 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
 
-// File:        ModuleBase_Widgets.h
+// File:        ModuleBase_WidgetBoolValue.cpp
 // Created:     04 June 2014
 // Author:      Vitaly Smetannikov
 
@@ -54,7 +54,7 @@ bool ModuleBase_WidgetBoolValue::storeValueCustom() const
   return true;
 }
 
-bool ModuleBase_WidgetBoolValue::restoreValue()
+bool ModuleBase_WidgetBoolValue::restoreValueCustom()
 {
   DataPtr aData = myFeature->data();
   std::shared_ptr<ModelAPI_AttributeBoolean> aRef = aData->boolean(attributeID());