From: enk Date: Thu, 2 Mar 2006 11:45:00 +0000 (+0000) Subject: Fix for Bug IPAL10129: X-Git-Tag: mergeto_trunk_13Mar06~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f9fe473bd8414f8e22a4b412d8b8493b28250bb3;p=modules%2Fvisu.git Fix for Bug IPAL10129: Values in "Change Clipping" dialog box are not taken by "Ok" or "Apply" --- 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.