From 3e32c812a501ca6617751de968d9ef1c35046275 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 3 Nov 2006 12:18:05 +0000 Subject: [PATCH] To fix a problem with reseting of timestamp number on reactivation selection --- src/VISUGUI/VisuGUI_Slider.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/VISUGUI/VisuGUI_Slider.cxx b/src/VISUGUI/VisuGUI_Slider.cxx index c295fe52..bf983a10 100644 --- a/src/VISUGUI/VisuGUI_Slider.cxx +++ b/src/VISUGUI/VisuGUI_Slider.cxx @@ -173,11 +173,11 @@ VisuGUI_Slider::~VisuGUI_Slider() void VisuGUI_Slider::enableControls( bool on ) { - myTimeStampStrings->clear(); - myTimeStampIndices->clear(); - mySlider->setMinValue( 0 ); - mySlider->setMaxValue( 0 ); - mySlider->setValue( 0 ); + //myTimeStampStrings->clear(); + //myTimeStampIndices->clear(); + //mySlider->setMinValue( 0 ); + //mySlider->setMaxValue( 0 ); + //mySlider->setValue( 0 ); if( on ) { @@ -199,7 +199,7 @@ void VisuGUI_Slider::enableControls( bool on ) { VISU::ColoredPrs3d::TimeStampInfo anInfo = aTimeStampsRange[ index ]; long aNumber = anInfo.myNumber; - const char* aTime = anInfo.myTime.in(); + QString aTime = anInfo.myTime.in(); myTimeStampStrings->insertItem( aTime ); myTimeStampIndices->insertItem( QString::number( aNumber ) ); -- 2.39.2