mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
RuiMainWindow. Null pointer guard
This commit is contained in:
@@ -773,7 +773,7 @@ void RiuMainWindow::refreshAnimationActions()
|
||||
else
|
||||
{
|
||||
RimEclipseView * activeRiv = dynamic_cast<RimEclipseView*>(activeView);
|
||||
if ( activeRiv->currentGridCellResults() )
|
||||
if ( activeRiv && activeRiv->currentGridCellResults() )
|
||||
{
|
||||
timeStepStrings.push_back(tr("Static Property"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user