From: vsv Date: Wed, 7 Feb 2018 08:33:15 +0000 (+0300) Subject: Issue #2428: Do not activate name widget on start of the operation X-Git-Tag: V_3.0.0~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b3025c793455da0df5d0fe83455a7f45c64e885e;p=modules%2Fshaper.git Issue #2428: Do not activate name widget on start of the operation --- diff --git a/src/ModuleBase/ModuleBase_WidgetNameEdit.h b/src/ModuleBase/ModuleBase_WidgetNameEdit.h index 44a1a1e52..d72fd7b94 100644 --- a/src/ModuleBase/ModuleBase_WidgetNameEdit.h +++ b/src/ModuleBase/ModuleBase_WidgetNameEdit.h @@ -37,6 +37,8 @@ public: /// If not then it means that the widget do not need attribute at all. virtual bool usesAttribute() const { return false; } + virtual bool focusTo() { return false; } + protected: /// Saves the internal parameters to the given feature /// \return True in success