From 4e1b53167581be7e084a3d71c075507bc6699c06 Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 26 Mar 2014 14:07:11 +0000 Subject: [PATCH] Minor changes. --- src/HYDROGUI/HYDROGUI_ZLevelsDlg.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/HYDROGUI/HYDROGUI_ZLevelsDlg.cxx b/src/HYDROGUI/HYDROGUI_ZLevelsDlg.cxx index aac2cc2e..a211e26e 100644 --- a/src/HYDROGUI/HYDROGUI_ZLevelsDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ZLevelsDlg.cxx @@ -74,14 +74,16 @@ HYDROGUI_ZLevelsDlg::HYDROGUI_ZLevelsDlg( QWidget* theParent, HYDROGUI_Module* t connect( myAllObjects, SIGNAL( stateChanged( int ) ), this, SLOT( onStateChanged() ) ); connect( myApply, SIGNAL( clicked() ), this, SIGNAL( applyOrder() ) ); - connect( myClose, SIGNAL( clicked() ), this, SLOT( close() ) ); + connect( myClose, SIGNAL( clicked() ), this, SLOT( reject() ) ); // Initialize onStateChanged(); // Create selector if ( theModule ) { - new HYDROGUI_ListSelector( myListWidget, theModule->getApp()->selectionMgr() ); + HYDROGUI_ListSelector* aListSelector = + new HYDROGUI_ListSelector( myListWidget, theModule->getApp()->selectionMgr() ); + aListSelector->setAutoBlock( true ); } } -- 2.39.2