mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix crash in RiuMainWindow when closing project
This commit is contained in:
@@ -933,7 +933,7 @@ void RiuMainWindow::refreshAnimationActions()
|
||||
int currentTimeStepIndex = 0;
|
||||
|
||||
bool enableAnimControls = false;
|
||||
if ( activeView && activeView->viewer() && activeView->viewer()->frameCount() )
|
||||
if ( activeView && activeView->ownerCase() && activeView->viewer() && activeView->viewer()->frameCount() )
|
||||
{
|
||||
enableAnimControls = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user