RuiMainWindow. Null pointer guard

This commit is contained in:
Bjørn Erik Jensen
2018-02-15 10:59:15 +01:00
parent 22ba541145
commit 0e53c4b8bd
@@ -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"));
}