From f066dc66410b4566079c125805fbd78f5902bbcb Mon Sep 17 00:00:00 2001 From: ouv Date: Mon, 8 Jun 2009 13:47:28 +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 326bac71..68bd2e2b 100644 --- a/src/VISUGUI/VisuGUI_TimeAnimation.cxx +++ b/src/VISUGUI/VisuGUI_TimeAnimation.cxx @@ -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(); } -- 2.39.2