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 );
}
}