From: vsr Date: Tue, 2 Dec 2014 17:24:38 +0000 (+0300) Subject: 0022811: EDF 9266 PARAVIS: PVViewer is broken after connecting a study while Paravis... X-Git-Tag: V7_5_1b1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6234d43868e5cf410a94d33db99a6c2dcc6df822;p=modules%2Fgui.git 0022811: EDF 9266 PARAVIS: PVViewer is broken after connecting a study while Paravis is loading --- diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index 51354196a..47b4eaa2e 100755 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -409,6 +409,8 @@ bool STD_Application::closeDoc( bool ask ) bool STD_Application::closeActiveDoc( bool permanently ) { SUIT_Study* study = activeStudy(); + if ( !study ) // no active study + return true; beforeCloseDoc( study );