Fix crash if 3d window is not there when importing summary data

This commit is contained in:
Jon Jenssen
2022-05-23 11:03:32 +02:00
committed by jonjenssen
parent 26f1387bc6
commit 05ce13b533
6 changed files with 14 additions and 5 deletions
@@ -79,7 +79,7 @@ void RicImportSummaryGroupFeature::onActionTriggered( bool isChecked )
if ( allCases.size() == 0 )
{
RiuMainWindow::instance()->close();
RiuMainWindow::closeIfOpen();
}
}