X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetLabel.h;h=9fb8ddd76f2caad71ddfa3e8308ebf3d3eccb630;hb=8cd56d486b6e96b8814002f9f0f4acadd6cea11b;hp=17add93100032497e6b12d1b59a5ac6c395011a8;hpb=b25922145a97fccf8d2613d0ef52a283d3ce0987;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetLabel.h b/src/ModuleBase/ModuleBase_WidgetLabel.h index 17add9310..9fb8ddd76 100644 --- a/src/ModuleBase/ModuleBase_WidgetLabel.h +++ b/src/ModuleBase/ModuleBase_WidgetLabel.h @@ -33,7 +33,7 @@ Q_OBJECT /// It returns false because this is an info widget virtual bool canSetValue() const { return false; }; - virtual bool restoreValue() + virtual bool restoreValueCustom() { return true; } @@ -46,12 +46,11 @@ Q_OBJECT protected: /// Saves the internal parameters to the given feature /// \return True in success - virtual bool storeValue() const + virtual bool storeValueCustom() const { return true; } -private: /// A label control QLabel* myLabel; };