From 366c3fcd41d171c670f84866175cbe1782e72e6b Mon Sep 17 00:00:00 2001 From: ouv Date: Mon, 8 Jun 2009 13:46:39 +0000 Subject: [PATCH] Fix of bug IPAL21154 - TC5.1.2: Incorrect GUI of Animation dialog --- src/VISUGUI/VisuGUI_TimeAnimation.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI_TimeAnimation.cxx b/src/VISUGUI/VisuGUI_TimeAnimation.cxx index e1afad6a..a1083df6 100644 --- a/src/VISUGUI/VisuGUI_TimeAnimation.cxx +++ b/src/VISUGUI/VisuGUI_TimeAnimation.cxx @@ -1792,25 +1792,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(); } -- 2.39.2