From c762085c061ad92aadccb9c35ec4ce9e2372e806 Mon Sep 17 00:00:00 2001 From: enk Date: Thu, 2 Mar 2006 11:42:33 +0000 Subject: [PATCH] Fix for Bug IPAL10129: Values in "Change Clipping" dialog box are not taken by "Ok" or "Apply" --- src/SMESHGUI/SMESHGUI_ClippingDlg.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx b/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx index 247ee6015..7551df818 100644 --- a/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx @@ -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(); -- 2.39.2