mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8314 Ensemble import: Perform file search only on "Find" button
Automatic search when input changes can be time consuming and confusing.
This commit is contained in:
@@ -208,8 +208,6 @@ RicRecursiveFileSearchDialog::RicRecursiveFileSearchDialog( QWidget* parent, con
|
|||||||
|
|
||||||
connect( m_browseButton, SIGNAL( clicked() ), this, SLOT( slotBrowseButtonClicked() ) );
|
connect( m_browseButton, SIGNAL( clicked() ), this, SLOT( slotBrowseButtonClicked() ) );
|
||||||
|
|
||||||
connect( m_ensembleGroupingMode, SIGNAL( currentIndexChanged( int ) ), this, SLOT( slotFindOrCancelButtonClicked() ) );
|
|
||||||
|
|
||||||
connect( m_findOrCancelButton, SIGNAL( clicked() ), this, SLOT( slotFindOrCancelButtonClicked() ) );
|
connect( m_findOrCancelButton, SIGNAL( clicked() ), this, SLOT( slotFindOrCancelButtonClicked() ) );
|
||||||
|
|
||||||
connect( m_buttons, SIGNAL( accepted() ), this, SLOT( slotDialogOkClicked() ) );
|
connect( m_buttons, SIGNAL( accepted() ), this, SLOT( slotDialogOkClicked() ) );
|
||||||
@@ -725,8 +723,6 @@ void RicRecursiveFileSearchDialog::slotPathFilterChanged( const QString& text )
|
|||||||
updateEffectiveFilter();
|
updateEffectiveFilter();
|
||||||
warningIfInvalidCharacters();
|
warningIfInvalidCharacters();
|
||||||
m_findOrCancelButton->setDefault( true );
|
m_findOrCancelButton->setDefault( true );
|
||||||
|
|
||||||
slotFindOrCancelButtonClicked();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user