diff --git a/ApplicationCode/UserInterface/RiuMainWindow.cpp b/ApplicationCode/UserInterface/RiuMainWindow.cpp index 25a115c2df..82412c8a9f 100644 --- a/ApplicationCode/UserInterface/RiuMainWindow.cpp +++ b/ApplicationCode/UserInterface/RiuMainWindow.cpp @@ -773,7 +773,7 @@ void RiuMainWindow::refreshAnimationActions() else { RimEclipseView * activeRiv = dynamic_cast(activeView); - if ( activeRiv->currentGridCellResults() ) + if ( activeRiv && activeRiv->currentGridCellResults() ) { timeStepStrings.push_back(tr("Static Property")); }