From 58dd483674454f8511c116e2ac6c9405e8c831f9 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 3 Nov 2006 15:26:17 +0000 Subject: [PATCH] Fix a bug - time and timestamp number comboboxes is not updated correctly --- src/VISUGUI/VisuGUI_Slider.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.2