]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL10129:
authorenk <enk@opencascade.com>
Thu, 2 Mar 2006 11:45:00 +0000 (11:45 +0000)
committerenk <enk@opencascade.com>
Thu, 2 Mar 2006 11:45:00 +0000 (11:45 +0000)
Values in "Change Clipping" dialog box are not taken by "Ok" or "Apply"

src/VISUGUI/VisuGUI_ClippingDlg.cxx

index 1f35f9801f57002519c1606cbd7e5489e691f331..d0ff68478199ded89328979237308b6dbe1bb10b 100644 (file)
@@ -485,6 +485,10 @@ void VisuGUI_ClippingDlg::ClickOnApply()
   if (SVTK_ViewWindow* aViewWindow = VISU::GetActiveViewWindow<SVTK_ViewWindow>(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.