From: akl Date: Wed, 26 Mar 2008 09:55:20 +0000 (+0000) Subject: Fix of IPAL19349 (Qt4 porting: preview of clipping plane remains after the "Change... X-Git-Tag: V5_0_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6c783118f30ab0ce037cb156a0fb1c109fba36ea;p=modules%2Fvisu.git Fix of IPAL19349 (Qt4 porting: preview of clipping plane remains after the "Change Clipping" dialog closing). --- diff --git a/src/VISUGUI/VisuGUI_ClippingDlg.cxx b/src/VISUGUI/VisuGUI_ClippingDlg.cxx index c8943892..a5aca09a 100644 --- a/src/VISUGUI/VisuGUI_ClippingDlg.cxx +++ b/src/VISUGUI/VisuGUI_ClippingDlg.cxx @@ -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);