From 026df6b1a5388cc223160261cc761833d6fd2fea Mon Sep 17 00:00:00 2001 From: mkr Date: Wed, 25 Jan 2006 07:25:22 +0000 Subject: [PATCH] Fix for bug PAL11332 : In Edit ports, changing the workspace adds the entered ports twice. --- src/SUPERVGUI/SUPERVGUI_ManagePortsDlg.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/SUPERVGUI/SUPERVGUI_ManagePortsDlg.cxx b/src/SUPERVGUI/SUPERVGUI_ManagePortsDlg.cxx index c6cc037..fb9e5f0 100644 --- a/src/SUPERVGUI/SUPERVGUI_ManagePortsDlg.cxx +++ b/src/SUPERVGUI/SUPERVGUI_ManagePortsDlg.cxx @@ -395,7 +395,11 @@ void SUPERVGUI_ManagePortsDlg::init( const SUPERVGUI_CanvasNode* theNode ) { // 1. fill myTypeCombo with all available types myTypeCombo->insertStrList( gTypes ); - // 2. fill Input and Output listboxes with Ports' names/types + // 2. mkr : PAL11332 : clear Input and Output listboxes + myInList->clear(); + myOutList->clear(); + + // 3. fill Input and Output listboxes with Ports' names/types QStringList aTypes; SUPERV_Ports aPorts = aINode->Ports(); for ( int i=0; i < aPorts->length(); i++ ) { -- 2.39.2