]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Minor changes.
authormzn <mzn@opencascade.com>
Wed, 26 Mar 2014 14:07:11 +0000 (14:07 +0000)
committermzn <mzn@opencascade.com>
Wed, 26 Mar 2014 14:07:11 +0000 (14:07 +0000)
src/HYDROGUI/HYDROGUI_ZLevelsDlg.cxx

index aac2cc2e14b3374a6ca7dab1f32467d349e041f7..a211e26ee9d9949359fe4b5fac9cf4b8175f4364 100644 (file)
@@ -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 );
   }
 }