From dfaa6c65663462e8bad2815b8cd214fd48ff0852 Mon Sep 17 00:00:00 2001 From: mzn Date: Tue, 20 Feb 2007 09:53:13 +0000 Subject: [PATCH] Fix for NPAL14919(EDF 369 SUPERV : SIGSEGV after Display of a graph in the object browser if same name in InPort and OutPort). --- src/SUPERVGUI/SUPERVGUI_Main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SUPERVGUI/SUPERVGUI_Main.cxx b/src/SUPERVGUI/SUPERVGUI_Main.cxx index 2411112..9daf3ae 100644 --- a/src/SUPERVGUI/SUPERVGUI_Main.cxx +++ b/src/SUPERVGUI/SUPERVGUI_Main.cxx @@ -74,7 +74,7 @@ using namespace boost; SUPERV::Port_ptr aPort = aPortList[p].in(); \ if ( !aPort->IsInput() && !aPort->IsGate() ) { \ bool aInStudy = dynamic_cast( aMain->getCanvas()->getPort(aPort) )->isInStudy(); \ - dynamic_cast( getCanvas()->getPort( getDataflow()->Node(aCNode->Name())->Port(aPort->Name()) ) )->setStudyState(aInStudy); \ + dynamic_cast( getCanvas()->getPort( getDataflow()->Node(aCNode->Name())->GetOutPort(aPort->Name()) ) )->setStudyState(aInStudy); \ } \ } \ } -- 2.39.2