From b3025c793455da0df5d0fe83455a7f45c64e885e Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 7 Feb 2018 11:33:15 +0300 Subject: [PATCH] Issue #2428: Do not activate name widget on start of the operation --- src/ModuleBase/ModuleBase_WidgetNameEdit.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2