From: ouv Date: Mon, 8 Jun 2009 13:47:28 +0000 (+0000) Subject: Fix of bug IPAL21154 - TC5.1.2: Incorrect GUI of Animation dialog X-Git-Tag: V5_1_2rc2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f066dc66410b4566079c125805fbd78f5902bbcb;p=modules%2Fvisu.git Fix of bug IPAL21154 - TC5.1.2: Incorrect GUI of Animation dialog --- 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(); }