mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Not required to process event anymore
This commit is contained in:
@@ -69,12 +69,7 @@ void RicImportSeismicFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
if ( !seisColl ) return;
|
||||
|
||||
RimSeismicDataInterface* newData = seisColl->importSeismicFromFile( fileName );
|
||||
|
||||
// workaround to make tree selection work, otherwise "Cell Results" gets selected for some reason
|
||||
QApplication::processEvents();
|
||||
|
||||
if ( newData )
|
||||
if ( auto newData = seisColl->importSeismicFromFile( fileName ) )
|
||||
{
|
||||
Riu3DMainWindowTools::selectAsCurrentItem( newData );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user