From: mkr Date: Thu, 13 Mar 2008 15:53:20 +0000 (+0000) Subject: Fix for bug IPAL19203. X-Git-Tag: V5_0_0a1~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=89fa3631be3d30c5e4c361f38f5bd0b0e084f7ca;p=modules%2Fvisu.git Fix for bug IPAL19203. --- diff --git a/src/VISUGUI/VisuGUI_TimeAnimation.cxx b/src/VISUGUI/VisuGUI_TimeAnimation.cxx index 096670a6..6829fb48 100644 --- a/src/VISUGUI/VisuGUI_TimeAnimation.cxx +++ b/src/VISUGUI/VisuGUI_TimeAnimation.cxx @@ -1429,8 +1429,8 @@ VisuGUI_TimeAnimationDlg::VisuGUI_TimeAnimationDlg (VisuGUI* theModule, for (unsigned int i = 0; i < aDumpFormats.count(); i++) { myPicsFormat->addItem(aDumpFormats.at(i)); } - if (aDumpFormats.indexOf("JPEG")) - myPicsFormat->setCurrentIndex(aDumpFormats.indexOf("JPEG")); + if (aDumpFormats.indexOf("jpeg")) + myPicsFormat->setCurrentIndex(aDumpFormats.indexOf("jpeg")); else myPicsFormat->setCurrentIndex(0); myPicsFormat->setEnabled(false);