]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Minor change
authorouv <ouv@opencascade.com>
Mon, 18 Dec 2006 15:46:36 +0000 (15:46 +0000)
committerouv <ouv@opencascade.com>
Mon, 18 Dec 2006 15:46:36 +0000 (15:46 +0000)
src/VISUGUI/VisuGUI_Slider.cxx

index ccb165cd5a3f975aed66df5e49f60c48db2c1dab..b9141af2637c3799cb6624d44000052e0778b92f 100644 (file)
@@ -399,6 +399,9 @@ void VisuGUI_Slider::onValueChanged( int value )
     return;
   }
 
+  myTimeStampStrings->setCurrentItem( value );
+  myTimeStampIndices->setCurrentItem( value );
+
   VISU::ColoredPrs3dHolder_var aHolder = myHolderList.front();
 
   VISU::ColoredPrs3d::TimeStampsRange_var aTimeStampsRange = aHolder->GetTimeStampsRange();
@@ -427,9 +430,6 @@ void VisuGUI_Slider::onValueChanged( int value )
     aHolder->Apply( aPrs3d, anInput, myView3D );
   }
 
-  myTimeStampStrings->setCurrentItem( value );
-  myTimeStampIndices->setCurrentItem( value );
-
   updateMemoryState();
 }