#4421 Python: Add GRPC status to About dialog

* If the finish comes because the server is shut down,
  there is no m_eclipseCase
This commit is contained in:
Gaute Lindkvist
2019-06-09 15:35:31 +02:00
parent 0507c5d775
commit c2bad4a686
9 changed files with 259 additions and 4 deletions

View File

@@ -172,10 +172,13 @@ public:
//--------------------------------------------------------------------------------------------------
void finish()
{
for (Rim3dView* view : m_eclipseCase->views())
if (m_eclipseCase)
{
view->setCurrentTimeStepAndUpdate(view->currentTimeStep());
view->createDisplayModelAndRedraw();
for (Rim3dView* view : m_eclipseCase->views())
{
view->setCurrentTimeStepAndUpdate(view->currentTimeStep());
view->createDisplayModelAndRedraw();
}
}
}