]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix of bug IPAL21154 - TC5.1.2: Incorrect GUI of Animation dialog
authorouv <ouv@opencascade.com>
Mon, 8 Jun 2009 13:47:28 +0000 (13:47 +0000)
committerouv <ouv@opencascade.com>
Mon, 8 Jun 2009 13:47:28 +0000 (13:47 +0000)
src/VISUGUI/VisuGUI_TimeAnimation.cxx

index 326bac71e9792039da1189b0e2c6e83d917857a7..68bd2e2bca32753cd1dc2b717db5387a5da589fb 100644 (file)
@@ -1927,25 +1927,28 @@ void VisuGUI_TimeAnimationDlg::onPlayPressed()
 //------------------------------------------------------------------------
 void VisuGUI_TimeAnimationDlg::onBackPressed()
 {
-  //stopAnimation();
+  stopAnimation();
   myAnimator->prevFrame();
 }
 
 //------------------------------------------------------------------------
 void VisuGUI_TimeAnimationDlg::onForvardPressed()
 {
+  stopAnimation();
   myAnimator->nextFrame();
 }
 
 //------------------------------------------------------------------------
 void VisuGUI_TimeAnimationDlg::onLastPressed()
 {
+  stopAnimation();
   myAnimator->lastFrame();
 }
 
 //------------------------------------------------------------------------
 void VisuGUI_TimeAnimationDlg::onFirstPressed()
 {
+  stopAnimation();
   myAnimator->firstFrame();
 }