]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix a bug - time and timestamp number comboboxes is not updated correctly WP1_2_3_06-10-2006
authorapo <apo@opencascade.com>
Fri, 3 Nov 2006 15:26:17 +0000 (15:26 +0000)
committerapo <apo@opencascade.com>
Fri, 3 Nov 2006 15:26:17 +0000 (15:26 +0000)
src/VISUGUI/VisuGUI_Slider.cxx

index dff1bac40e9f581a312e43ed37738211b8e330c2..844c7ad3b9a9615eb5ae5703c4b9d9e21eddc16a 100644 (file)
@@ -198,14 +198,14 @@ VisuGUI_Slider::~VisuGUI_Slider()
 
 void VisuGUI_Slider::enableControls( bool on )
 {
-  //myTimeStampStrings->clear();
-  //myTimeStampIndices->clear();
   //mySlider->setMinValue( 0 );
   //mySlider->setMaxValue( 0 );
   //mySlider->setValue( 0 );
 
   if( on )
   {
+    myTimeStampStrings->clear();
+    myTimeStampIndices->clear();
     VISU::ColoredPrs3d_i* aPrs = myPrsList[0];
 
     CORBA::Long aTimeStampNumber = aPrs->GetTimeStampNumber();