From: ana Date: Tue, 8 Feb 2011 10:15:05 +0000 (+0000) Subject: Fix for the bug IPAL22159: Application closes while editing "use range of time stamps... X-Git-Tag: V6_main_20110209 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7a098f417a0b3fce7ea7b439d467f21259f789e8;p=modules%2Fvisu.git Fix for the bug IPAL22159: Application closes while editing "use range of time stamps" on parallel animation --- diff --git a/src/VISUGUI/VisuGUI_TimeAnimation.cxx b/src/VISUGUI/VisuGUI_TimeAnimation.cxx index 0582735a..cc9a69d6 100644 --- a/src/VISUGUI/VisuGUI_TimeAnimation.cxx +++ b/src/VISUGUI/VisuGUI_TimeAnimation.cxx @@ -1346,7 +1346,7 @@ void SetupDlg::onMinValue() aVal = qMax( qMin( aVal, myAnimator->getMaxRange() ), myAnimator->getMinTime() ); myAnimator->setAnimationRange( aVal, myAnimator->getMaxRange() ); myMinVal->setText( QString::number( aVal ) ); - myMinVal->setFocus(); + // myMinVal->setFocus(); setIsRegenerate( true ); } @@ -1358,7 +1358,7 @@ void SetupDlg::onMaxValue() aVal = qMin( qMax( aVal, myAnimator->getMinRange() ), myAnimator->getMaxTime() ); myAnimator->setAnimationRange( myAnimator->getMinRange(), aVal ); myMaxVal->setText( QString::number( aVal ) ); - myMaxVal->setFocus(); + // myMaxVal->setFocus(); setIsRegenerate( true ); }