]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3230: Optional box should not change focus widget
authorvsv <vsv@opencascade.com>
Fri, 31 Jul 2020 13:57:49 +0000 (16:57 +0300)
committervsv <vsv@opencascade.com>
Fri, 31 Jul 2020 13:57:49 +0000 (16:57 +0300)
src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp

index 63cb21479afb56b651be2604709a92c97909b45f..05ffa887571044eba45a2eb93fa2ac30591a5ef1 100644 (file)
@@ -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()