Salome HOME
Fix for Bug IPAL10129:
authorenk <enk@opencascade.com>
Thu, 2 Mar 2006 11:42:33 +0000 (11:42 +0000)
committerenk <enk@opencascade.com>
Thu, 2 Mar 2006 11:42:33 +0000 (11:42 +0000)
Values in "Change Clipping" dialog box are not taken by "Ok" or "Apply"

src/SMESHGUI/SMESHGUI_ClippingDlg.cxx

index 247ee6015e6dc796f8046007440150c2e2a73d5e..7551df818a0d5a70d5a93bce657424f1eca558d3 100644 (file)
@@ -387,6 +387,10 @@ void SMESHGUI_ClippingDlg::ClickOnApply()
 
   if (SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow(mySMESHGUI)) {
     SUIT_OverrideCursor wc;
+    
+    QWidget *aCurrWid = this->focusWidget();
+    aCurrWid->clearFocus();
+    aCurrWid->setFocus();
 
     myActor->RemoveAllClippingPlanes();