Salome HOME
Issue #1278 In the sketch the creation line is not functional when I check the box...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetSwitch.h
index 8b127f4d2a5f62da8e0e92912dbe49d45cc61633..1121d11fd1a42dc38342bbb6622b60624b993971 100644 (file)
@@ -33,7 +33,7 @@ class MODULEBASE_EXPORT ModuleBase_WidgetSwitch : public ModuleBase_PagedContain
 
   /// 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 canAcceptFocus() const { return false; };
 
   /// Add a page to the widget
   /// \param theWidget a page widget