From f9fe473bd8414f8e22a4b412d8b8493b28250bb3 Mon Sep 17 00:00:00 2001 From: enk Date: Thu, 2 Mar 2006 11:45:00 +0000 Subject: [PATCH] Fix for Bug IPAL10129: Values in "Change Clipping" dialog box are not taken by "Ok" or "Apply" --- src/VISUGUI/VisuGUI_ClippingDlg.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/VISUGUI/VisuGUI_ClippingDlg.cxx b/src/VISUGUI/VisuGUI_ClippingDlg.cxx index 1f35f980..d0ff6847 100644 --- a/src/VISUGUI/VisuGUI_ClippingDlg.cxx +++ b/src/VISUGUI/VisuGUI_ClippingDlg.cxx @@ -485,6 +485,10 @@ void VisuGUI_ClippingDlg::ClickOnApply() if (SVTK_ViewWindow* aViewWindow = VISU::GetActiveViewWindow(myVisuGUI)) { SUIT_OverrideCursor wc; + QWidget *aCurrWid = this->focusWidget(); + aCurrWid->clearFocus(); + aCurrWid->setFocus(); + // Save clipping planes, currently applied to the presentation // to enable restoring this state in case of failure. // Refer to bugs IPAL8849, IPAL8850 for more information. -- 2.39.2