mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-03 20:20:48 -06:00
Workaround to make sure seismic data item gets selected after importing seismic data.
This commit is contained in:
parent
dea931cb25
commit
13dd472a0d
@ -71,6 +71,9 @@ void RicImportSeismicFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
RimSeismicData* newData = seisColl->importSeismicFromFile( fileName );
|
||||
|
||||
// workaround to make tree selection work, otherwise "Cell Results" gets selected for some reason
|
||||
QApplication::processEvents();
|
||||
|
||||
if ( newData )
|
||||
{
|
||||
Riu3DMainWindowTools::selectAsCurrentItem( newData );
|
||||
|
Loading…
Reference in New Issue
Block a user