From: mzn Date: Wed, 26 Mar 2014 14:07:11 +0000 (+0000) Subject: Minor changes. X-Git-Tag: BR_hydro_v1_0_1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4e1b53167581be7e084a3d71c075507bc6699c06;p=modules%2Fhydro.git Minor changes. --- 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 ); } }