From: vsv Date: Fri, 31 Jul 2020 13:57:49 +0000 (+0300) Subject: Issue #3230: Optional box should not change focus widget X-Git-Tag: V9_6_0a1~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65b9156523ee92310b473d17816259973abb661d;p=modules%2Fshaper.git Issue #3230: Optional box should not change focus widget --- diff --git a/src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp b/src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp index 63cb21479..05ffa8875 100644 --- a/src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp +++ b/src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp @@ -93,8 +93,9 @@ void ModuleBase_WidgetOptionalBox::onPageClicked() storeValue(); updateControlsVisibility(); - if (!isEditingMode()) - emit focusOutWidget(this); + // The widget doesn't accept a focus + //if (!isEditingMode()) + // emit focusOutWidget(this); } void ModuleBase_WidgetOptionalBox::addPageStretch()