From dac3e37f871426ea5e0c6f4388e0e38f2aa7c054 Mon Sep 17 00:00:00 2001 From: mkr Date: Wed, 25 Jan 2006 06:59:12 +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 cd81664..a480e3e 100644 --- a/src/SUPERVGUI/SUPERVGUI_ManagePortsDlg.cxx +++ b/src/SUPERVGUI/SUPERVGUI_ManagePortsDlg.cxx @@ -528,8 +528,12 @@ void SUPERVGUI_ManagePortsDlg::init( const SUPERVGUI_CanvasNode* theNode ) { // 1. fill myTypeCombo with all available types myTypeCombo->insertStrList( gTypes ); + + // 2. mkr : PAL11332 : clear Input and Output listboxes + myInList->clear(); + myOutList->clear(); - // 2. fill Input and Output listboxes with Ports' names/types + // 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