Salome HOME
Activation of the first control in the boolean operations.
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetChoice.h
index 8e25ee1f935cee0b94ea01007976b923b3105328..fa643d44820cec7312c354a99b52912820999b20 100644 (file)
@@ -45,7 +45,11 @@ Q_OBJECT
                           const std::string& theParentId);
 
   virtual ~ModuleBase_WidgetChoice();
-  
+
+  /// Defines if it is supported to set the value in this widget
+  /// It returns false because this is an info widget
+  virtual bool canSetValue() const { return false; };
+
   virtual bool focusTo();
 
   /// Returns list of widget controls