From: mkr Date: Fri, 24 Jun 2005 06:52:37 +0000 (+0000) Subject: Fix for bug IPAL9190 : 3.0.0: SIGSEGV appears at attempt to run dataflow when it... X-Git-Tag: T3_0_0_a4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7944bea92b89900769f97fff9accf86ca0c42622;p=modules%2Fsuperv.git Fix for bug IPAL9190 : 3.0.0: SIGSEGV appears at attempt to run dataflow when it is not opened. --- diff --git a/src/SUPERVGUI/SUPERVGUI.cxx b/src/SUPERVGUI/SUPERVGUI.cxx index a158d5f..b1c6095 100644 --- a/src/SUPERVGUI/SUPERVGUI.cxx +++ b/src/SUPERVGUI/SUPERVGUI.cxx @@ -412,6 +412,8 @@ void SUPERVGUI::onGraphClosed(SUIT_ViewWindow* theViewWindow) { if ( myGraphList.isEmpty() ) { myAllGraphsClosed = true; myFirstActivation = true; + myInitialViewFrame = 0; + main = 0; } }