]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix of IPAL19349 (Qt4 porting: preview of clipping plane remains after the "Change...
authorakl <akl@opencascade.com>
Wed, 26 Mar 2008 09:55:20 +0000 (09:55 +0000)
committerakl <akl@opencascade.com>
Wed, 26 Mar 2008 09:55:20 +0000 (09:55 +0000)
src/VISUGUI/VisuGUI_ClippingDlg.cxx

index c8943892c72e777a87f391d9bc937335685c5aa9..a5aca09a9789ea65d57cd055becc8623dc163af6 100644 (file)
@@ -248,6 +248,8 @@ VisuGUI_ClippingDlg::VisuGUI_ClippingDlg (VisuGUI* theModule,
 {
   setWindowTitle(tr("TITLE"));
   setSizeGripEnabled(TRUE);
+  setAttribute( Qt::WA_DeleteOnClose, true );
+
   QGridLayout* VisuGUI_ClippingDlgLayout = new QGridLayout(this);
   VisuGUI_ClippingDlgLayout->setSpacing(6);
   VisuGUI_ClippingDlgLayout->setMargin(11);