]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Fix for bug PAL11332 : In Edit ports, changing the workspace adds the entered ports...
authormkr <mkr@opencascade.com>
Wed, 25 Jan 2006 07:25:22 +0000 (07:25 +0000)
committermkr <mkr@opencascade.com>
Wed, 25 Jan 2006 07:25:22 +0000 (07:25 +0000)
src/SUPERVGUI/SUPERVGUI_ManagePortsDlg.cxx

index c6cc037a8ae17350639ce54aac97c96047228715..fb9e5f0ac8f76545a8c15f6bd69b3d9f369f5a89 100644 (file)
@@ -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++ ) {