From: apo Date: Fri, 3 Nov 2006 15:26:17 +0000 (+0000) Subject: Fix a bug - time and timestamp number comboboxes is not updated correctly X-Git-Tag: WP1_2_3_06-10-2006 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=58dd483674454f8511c116e2ac6c9405e8c831f9;p=modules%2Fvisu.git Fix a bug - time and timestamp number comboboxes is not updated correctly --- diff --git a/src/VISUGUI/VisuGUI_Slider.cxx b/src/VISUGUI/VisuGUI_Slider.cxx index dff1bac4..844c7ad3 100644 --- a/src/VISUGUI/VisuGUI_Slider.cxx +++ b/src/VISUGUI/VisuGUI_Slider.cxx @@ -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();