From 6c783118f30ab0ce037cb156a0fb1c109fba36ea Mon Sep 17 00:00:00 2001 From: akl Date: Wed, 26 Mar 2008 09:55:20 +0000 Subject: [PATCH] Fix of IPAL19349 (Qt4 porting: preview of clipping plane remains after the "Change Clipping" dialog closing). --- src/VISUGUI/VisuGUI_ClippingDlg.cxx | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.2