Salome HOME
Update SketchPlugin_Projection feature (issue #1459)
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetBoolValue.h
index 082e54eecec51e43e3dd96443960b4981484053f..237460ec7fc38390a528b7fb942bdf717dae70ca 100644 (file)
@@ -29,6 +29,8 @@ Q_OBJECT
 
   virtual ~ModuleBase_WidgetBoolValue();
 
+  virtual bool canAcceptFocus() const { return false; };
+
   virtual QList<QWidget*> getControls() const;
 
   virtual void setHighlighted(bool isHighlighted);
@@ -36,7 +38,7 @@ Q_OBJECT
 protected:
   /// Saves the internal parameters to the given feature
   /// \return True in success
-  virtual bool storeValueCustom() const;
+  virtual bool storeValueCustom();
 
   virtual bool restoreValueCustom();