From 65b9156523ee92310b473d17816259973abb661d Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 31 Jul 2020 16:57:49 +0300 Subject: [PATCH] Issue #3230: Optional box should not change focus widget --- src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() -- 2.39.2