]> 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 06:59:12 +0000 (06:59 +0000)
committermkr <mkr@opencascade.com>
Wed, 25 Jan 2006 06:59:12 +0000 (06:59 +0000)
src/SUPERVGUI/SUPERVGUI_ManagePortsDlg.cxx

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